Package-level declarations
Types
Link copied to clipboard
data class ActiveRoute(val uri: String, val matchedRoute: Route.Match, val mountedRoute: MountedRoute)
Represent the route that is currently selected as active route by a Router
Link copied to clipboard
data class MountedRoute(val route: Route, val middlewares: List<RouterMiddleware>, val view: FlowContent.(Route.Match) -> Unit)
Represents a Route that is mounted by a Router
Link copied to clipboard
The Router
Link copied to clipboard
class RouterBuilder
Helper class for building a Router
Link copied to clipboard
Link copied to clipboard
A RouterMiddleware is just a function with RouterMiddlewareContext as the receiver
Link copied to clipboard
The context for all middle wares
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The router component displays the view that is associated with the ActiveRoute of the given Router
Link copied to clipboard
Helper for defining a router middleware
Link copied to clipboard