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) : RouterFactory

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<RouteAnnotation> = emptySet(), val matcher: RouteMatcher = RouteMatcher.create(routeFormat)) : Route
Link copied to clipboard
class KVRouterViewModel(routingTable: KVRoutingTable, initialRoute: KVRoute, basePath: String? = null, useHash: Boolean = true, coroutineScope: CoroutineScope) : BasicViewModel<RouterContract.Inputs<KVRoute>, RouterContract.Events<KVRoute>, RouterContract.State<KVRoute>>
Link copied to clipboard
class KVRoutingTable : RoutingTable<KVRoute>
Link copied to clipboard
open class Routing(root: String? = null, useHash: Boolean = true, notFoundHandler: (String) -> Any? = null) : KVRouter

A helper class for Ballast router.