vleam/vue_router
Types
pub type RouteLocationNormalizedLoaded
Values
pub fn current_route(
router: Router,
) -> RouteLocationNormalizedLoaded
pub fn full_path(route: RouteLocationNormalizedLoaded) -> String
pub fn hash(route: RouteLocationNormalizedLoaded) -> String
pub fn on_before_route_leave(handler: fn() -> Nil) -> Nil
pub fn on_before_route_update(handler: fn() -> Nil) -> Nil
pub fn params(
route: RouteLocationNormalizedLoaded,
) -> dict.Dict(String, String)
pub fn path(route: RouteLocationNormalizedLoaded) -> String
pub fn query(
route: RouteLocationNormalizedLoaded,
) -> dict.Dict(String, option.Option(String))
pub fn use_route() -> RouteLocationNormalizedLoaded
pub fn use_router() -> Router