forked from kadirahq/flow-router
-
-
Notifications
You must be signed in to change notification settings - Fork 33
Home
dr.dimitru edited this page Oct 20, 2017
·
17 revisions
.whileWaiting()
hook.waitOn()
hook.waitOnResources()
hook.endWaiting()
hook.data()
hook.onNoData()
hook.triggersEnter()
hooks.action()
hook.triggersExit()
hooks
isActiveRoute
template helperisActivePath
template helperisNotActiveRoute
template helperisNotActivePath
template helperpathFor
template helperurlFor
template helperlinkTo
template helperparam
template helperqueryParam
template helpercurrentRouteName
template helpercurrentRouteOption
template helperisActiveRoute
template helperRouterHelpers
classtemplatehelpers
package
- General Methods:
.go()
method.route()
method.group()
method.render()
method- Global
.triggers
- Workarounds:
.refresh()
method.reload()
method.pathRegExp
option- Manipulation:
.getParam()
method.getQueryParam()
method.setParams()
method.setQueryParams()
method- URLs and data:
.url()
method.path()
method.current()
method.getRouteName()
method- Reactivity:
.watchPathChange()
method.withReplaceState()
method- For add-on developers:
.onRouteRegister()
method- Tweaking:
.wait()
method.initialize()
method
-
ostrio:flow-router-title - Reactive page title (
document.title
) -
ostrio:flow-router-meta - Per route
meta
tags,script
andlink
(CSS), set per-route stylesheets and scripts