currentFragment property

Signal<String> currentFragment
latefinal

Reactive signal tracking the current URL hash fragment (without the leading #).

Updates automatically on navigate, replace, or browser back/forward popstate events. Reading currentFragment.value inside a Live or Show boundary triggers a re-render whenever the hash fragment changes.

Implementation

late final Signal<String> currentFragment;