init

fun init(root: String? = null, useHash: Boolean = true, hash: String = "#"): Routing(source)

Initialize Navigo routing module.

Parameters

root

the root path of the application

useHash

whether to use hash based routing

hash

a string used as a hash marker