Ballast Router Factory
fun BallastRouterFactory(root: String? = null, useHash: Boolean = true, notFoundHandler: (String) -> Any? = null)
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