init

fun init(root: String? = null, useHash: Boolean = true, strategy: Strategy = Strategy.ONE, noMatchWarning: Boolean = false, linksSelector: String? = null): Routing(source)

Initialize Navigo 8+ routing module.

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