ReadonlybackGo back in history
ReadonlycurrentCurrent matched route (if any)
ReadonlyforwardGo forward in history
ReadonlylastWhich mechanism drove the most recent pathname change. Updated before
pathname publishes, so subscribers reading both can rely on
lastSource.get reflecting the source of the change they were woken
for. null until the first navigation.
ReadonlypathnameCurrent pathname as a reactive readable
ReadonlypushNavigate to a path string
ReadonlypushNavigate to a route with type-safe params
ReadonlyreplaceNavigate to a path string, replacing current history entry
ReadonlyreplaceNavigate to a route, replacing current history entry
ReadonlyrouterThe router this navigation is bound to
ReadonlysearchCurrent search params as a reactive readable
Navigation service for managing browser history and route state.