Ballast Router Factory
class BallastRouterFactory(val root: String? = null, val useHash: Boolean = true, val notFoundHandler: (String) -> Any? = null)
A router factory for Ballast routing module.
Parameters
root
the root path of the application
use Hash
whether to use hash based routing
not Found Handler
a function called when no route matches
Constructors
Link copied to clipboard
fun BallastRouterFactory(root: String? = null, useHash: Boolean = true, notFoundHandler: (String) -> Any? = null)