BallastRouterFactory

constructor(root: String? = null, useHash: Boolean = true, notFoundHandler: (String) -> Any? = null)(source)

Parameters

root

the root path of the application

useHash

whether to use hash based routing

notFoundHandler

a function called when no route matches