Registers a callback that runs when the browser URL changes.
Listener invoked with the new URL and history state.
Returns the current browser URL with any empty hash (#) removed.
The normalized browser URL.
Updates the browser's current URL and history state.
The target URL to navigate to.
Optionalstate: anyOptional history state object to associate with the new URL.
The provider instance.
Returns the cached browser history state.
The cached history state.
Fires the state or URL change event.