elementSelectionEventsEnabled property

Sets or gets the firing of the selectElement and hoverElement events.

Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

This property is read/write.

Syntax

JavaScript
object.elementSelectionEventsEnabled = bEventsEnabledbEventsEnabled = object.elementSelectionEventsEnabled

Property values

Type: boolean

When true selectElement and hoverElement will fire. When false, they won't.

See also

DiagnosticsBrowser