// Start immediately
ani.play(): Promise<void>Start immediately.
Returns
Promise<void>resolves when the animation completes (or is stopped)
ani.play — Animations > Animation handle. Cytoscape.js signatures, parameters and return contract.
ani.play — Animations › Animation handle
Preview · Animations › Animation handle
Read in the complete API reference · All API members
// Start immediately
ani.play(): Promise<void>Start immediately.
Promise<void>resolves when the animation completes (or is stopped)