RoutingModel
class RoutingModel(val routes: List<Route>? = null, defaultContent: @Composable IComponent.() -> Unit? = null, val defaultMeta: Meta?, notFoundView: @Composable IComponent.() -> Unit? = null, notFoundAction: suspend () -> Unit? = null, val notFoundMeta: Meta?)(source)
The routing tree model.
Constructors
Link copied to clipboard
constructor(routes: List<Route>? = null, defaultContent: @Composable IComponent.() -> Unit? = null, defaultMeta: Meta?, notFoundView: @Composable IComponent.() -> Unit? = null, notFoundAction: suspend () -> Unit? = null, notFoundMeta: Meta?)
Functions
Link copied to clipboard
@Composable
Applies the routing model to the given component, route builder, and routing context.