onNavigatedWithinDocument property

Stream<NavigatedWithinDocumentEvent> get onNavigatedWithinDocument

Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.

Implementation

Stream<NavigatedWithinDocumentEvent> get onNavigatedWithinDocument => _client
    .onEvent
    .where((event) => event.name == 'Page.navigatedWithinDocument')
    .map((event) => NavigatedWithinDocumentEvent.fromJson(event.parameters));