pub fn init_nav()Expand description
Initialize client navigation when the nav feature is enabled.
This runs as the shared core’s wasm-bindgen start, so it fires when a page
awaits core_init() during bootstrap — before any page WASM can trigger a
nav (the contract’s init invariant). [nav::init] is idempotent, so a
bfcache restore or a repeated load attaches its listeners only once.