Skip to main content

current_route

Function current_route 

Source
pub fn current_route() -> Option<String>
Expand description

The FULL current route: every mounted surface’s contribution, outermost to innermost, /-joined (docs/navigation.md). None = no surface mounted; Some("") = everything at its root. Round-trips through navigate, so persisting navigation state is save(current_route()) on the way out and navigate(&saved) on the way back in.

Day API ↩ Guides· daybrite.dev