Routing
open class Routing(root: String? = null, useHash: Boolean = true, strategy: Strategy = Strategy.ONE, noMatchWarning: Boolean = false, linksSelector: String? = null) : Navigo, KVRouter(source)
A helper class for Navigo 8+ JavaScript router.
Parameters
root
the root path of the application
use Hash
whether to use hash based routing
strategy
a routing strategy
no Match Warning
do not show warnings when there is no matching route
links Selector
CSS links selector
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun matchLocation(path: String, currentLocation: String, annotatePathWithRoot: Boolean): dynamic
open fun matchLocation(path: RegExp, currentLocation: String, annotatePathWithRoot: Boolean): dynamic
Link copied to clipboard
Link copied to clipboard