// Elapsed fraction of the duration (read-only — no scrubbing)
ani.progress(): numberElapsed fraction of the duration (read-only — no scrubbing).
Returns
numberthe fraction in [0, 1]
ani.progress — Animations > Animation handle. Cytoscape.js signatures, parameters and return contract.
ani.progress — Animations › Animation handle
Preview · Animations › Animation handle
Read in the complete API reference · All API members
// Elapsed fraction of the duration (read-only — no scrubbing)
ani.progress(): numberElapsed fraction of the duration (read-only — no scrubbing).
numberthe fraction in [0, 1]