Skip to content

event.timeStamp

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

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

Preview · Events › Event object › Payload and state

Read in the complete API reference · All API members

// when the event was built, Date.now() unless the caller supplied one
event.timeStamp: number

when the event was built, Date.now() unless the caller supplied one

Returns number

Example

console.log(Number.isFinite(event.timeStamp)); // true

Example graph and handle setup