Skip to content

event.cancelled

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

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

Preview · Events › Event object › Payload and state

Read in the complete API reference · All API members

// on layoutstop, whether the run was cancelled; on loadstop, whether the load was
event.cancelled: boolean

on layoutstop, whether the run was cancelled; on loadstop, whether the load was

Returns boolean

Example

console.log(event.cancelled); // undefined

Example graph and handle setup