trackkit / index / ResolvedNavigationSource
Interface: ResolvedNavigationSource
Defined in: types.ts:118
Internal
Internal resolved navigation source with all fields required.
Extends
Required<NavigationSource>
Methods
subscribe()
subscribe(
cb): () =>void
Defined in: types.ts:110
Subscribe to normalised URL changes (pathname + search + hash).
The callback is invoked whenever the current logical page changes. Returns an unsubscribe function which should detach any listeners you register.
Parameters
cb
(url) => void
Returns
():
void
Returns
void