FrameSource
Defined in: dom/src/dom-utils/autoscroll.ts:6
Where animation frames come from: a window’s requestAnimationFrame in the browser, a manual
queue in tests. The renderer’s frame scheduler and the autoscroll loop both take one; it lives
here, not with the renderer, because dom-utils knows nothing of the renderer.
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel(
handle):void
Defined in: dom/src/dom-utils/autoscroll.ts:10
Withdraws a request that has not run yet.
Parameters
Section titled “Parameters”handle
Section titled “handle”unknown
Returns
Section titled “Returns”void
request()
Section titled “request()”request(
callback):unknown
Defined in: dom/src/dom-utils/autoscroll.ts:8
Asks for callback to run once, before the next paint.
Parameters
Section titled “Parameters”callback
Section titled “callback”() => void
Returns
Section titled “Returns”unknown