NodeEvent #
@furo/furo-framework v2.4.11
import '@furo/framework/src/EventTreeNode.js';
exports NodeEvent js
exports EventTreeNode js
Custom event type for the AST
Attributes and Properties #
type #
default: type
Event type / name
path #
default: []
target #
default: undefined
bubbles #
default: bubbles
should the Event bubble
detail #
default: detail
Event details
cancelBubble #
default: false
If you are in a parent element and set this to true it will not bubble
cancelBroadcast #
default: false
if you are in a child element and set this to true, the event will not broadcast downwards
Methods #
stopPropagation #
stopPropagation() ⟹ void
do not propagate the events to parent nodes
stopBroadcast #
stopBroadcast() ⟹ void
Do not broadcast to the children of this node anymore