Package-level declarations

Simple and easy to use JavaScript router wrapper.

Types

Link copied to clipboard
class BallastRouterFactory(val root: String? = null, val useHash: Boolean = true, val notFoundHandler: (String) -> Any? = null)

A router factory for Ballast routing module.

Link copied to clipboard
data class KVRoute(val routeFormat: String, val handler: (Any) -> Unit? = null, val annotations: Set<<Error class: unknown class>> = emptySet(), val matcher: <Error class: unknown class> = RouteMatcher.create(routeFormat))
Link copied to clipboard
class KVRouterViewModel(routingTable: KVRoutingTable, initialRoute: KVRoute, basePath: String? = null, useHash: Boolean = true, coroutineScope: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
open class Routing(root: String? = null, useHash: Boolean = true, notFoundHandler: (String) -> Any? = null)

A helper class for Ballast router.