freya_router::components

Module activable_route

Source

Re-exports§

  • pub use ActivableRoute_completions::Component::ActivableRoute;

Structs§

Functions§

  • Sometimes you might want to know if a route is selected so you can style a specific UI element in a different way, like a button with a different color. To avoid cluttering your components with router-specific code you might instead want to wrap your component in an ActivableRoute and inside your component call use_activable_route.