ActiveRoute

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

Constructors

Link copied to clipboard
fun ActiveRoute(uri: String, matchedRoute: Route.Match, mountedRoute: MountedRoute)

Functions

Link copied to clipboard
fun render(flow: FlowContent)

Renders the content which is associated with the mountedRoute

Properties

Link copied to clipboard
val matchedRoute: Route.Match
Link copied to clipboard
Link copied to clipboard

Shortcut for getting the pattern of the route

Link copied to clipboard
val route: Route

Shortcut for getting the route definition

Link copied to clipboard
val uri: String