Overview of FlowRouter API methods
masterThe FlowRouter API is categorized into several functional groups to help manage routing, data manipulation, and reactivity:
- General Methods: Core routing operations like
.go(),.route(),.group(), and.render(), as well as global.triggers. - Workarounds: Methods and options for specific edge cases, such as
.refresh(),.reload(),.pathRegExp, and.decodeQueryParamsOnce. - Manipulation: Tools to interact with route and query parameters, including
.getParam(),.getQueryParam(),.setParams(), and.setQueryParams(). - URLs and Data: Methods for inspecting the current state and generating URLs, such as
.url(),.path(),.current(), and.getRouteName(). - Reactivity: Methods for responding to changes, specifically
.watchPathChange()and.withReplaceState(). - Add-on Development: The
.onRouteRegister()method for developers building extensions. - Tweaking: Low-level control via
.wait()and.initialize().