onInspectNodeRequested property
Stream<BackendNodeId>
get
onInspectNodeRequested
Fired when the node should be inspected. This happens after call to setInspectMode
or when
user manually inspects an element.
Implementation
Stream<dom.BackendNodeId> get onInspectNodeRequested => _client.onEvent
.where((event) => event.name == 'Overlay.inspectNodeRequested')
.map((event) =>
dom.BackendNodeId.fromJson(event.parameters['backendNodeId'] as int));