@mocanvas/editor · interface
interface TLTimeContextThe timer API, bound to one context.
Methods · 4
dispose(): voidCancel everything started through this context.
requestAnimationFrame(fn: (time: number) => void): numbersetInterval(fn: () => void, ms: number): numbersetTimeout(fn: () => void, ms: number): numbermocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.