NavigoRouterFactory

class NavigoRouterFactory(root: String?, useHash: Boolean, hash: String) : RouterFactory

A router factory for 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

Constructors

NavigoRouterFactory
Link copied to clipboard
fun NavigoRouterFactory(root: String? = null, useHash: Boolean = true, hash: String = "#!")
the root path of the application

Functions

getRouter
Link copied to clipboard
open override fun getRouter(): KVRouter
initRouter
Link copied to clipboard
open override fun initRouter()
shutdownRouter
Link copied to clipboard
open override fun shutdownRouter()

Properties

hash
Link copied to clipboard
val hash: String
a string used as a hash marker
root
Link copied to clipboard
val root: String? = null
the root path of the application
useHash
Link copied to clipboard
val useHash: Boolean = true
whether to use hash based routing