Skip to content

event.isPropagationStopped()

event.isPropagationStopped — Events > Event object > Payload and state. Cytoscape.js signatures, parameters and return contract.

event.isPropagationStopped — Events › Event object › Payload and state

Preview · Events › Event object › Payload and state

Read in the complete API reference · All API members

// Whether stopPropagation() has been called — read by the compound bubbling walk, where it halts the phase sequence
event.isPropagationStopped(): boolean

Whether stopPropagation() has been called — read by the compound bubbling walk, where it halts the phase sequence.

Returns boolean

Example

console.log(event.isPropagationStopped()); // false

Example graph and handle setup