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
useHash
whether to use hash based routing
strategy
a routing strategy
noMatchWarning
do not show warnings when there is no matching route
linksSelector
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