PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
internal
/
scheduler
import { AnimationFrameScheduler } from './AnimationFrameScheduler'; /** * * Animation Frame Scheduler * * <span class="informal">Perform task when `window.requestAnimationFrame` would fire</span> * * When `animationFrame` scheduler is used with delay, it will fall back to {@link asyncScheduler} scheduler * behaviour. * * Without delay, `animationFrame` scheduler can be used to create smooth browser animations. * It makes sure scheduled task will happen just before next browser content repaint, * thus performing animations as efficiently as possible. * * ## Example * Schedule div height animation * ```ts * // html: <div style="background: #0ff;"></div> * import { animationFrameScheduler } from 'rxjs'; * * const div = document.querySelector('div'); * * animationFrameScheduler.schedule(function(height) { * div.style.height = height + "px"; * * this.schedule(height + 1); // `this` references currently executing Action, * // which we reschedule with new state * }, 0, 0); * * // You will see a div element growing in height * ``` * * @static true * @name animationFrame * @owner Scheduler */ export declare const animationFrame: AnimationFrameScheduler;
[-] animationFrame.js.map
[edit]
[-] async.d.ts
[edit]
[-] animationFrame.d.ts
[edit]
[-] AsyncScheduler.js
[edit]
[+]
..
[-] QueueScheduler.js
[edit]
[-] asap.js.map
[edit]
[-] VirtualTimeScheduler.d.ts
[edit]
[-] AnimationFrameAction.js
[edit]
[-] queue.js
[edit]
[-] AsapScheduler.js.map
[edit]
[-] AsapAction.d.ts
[edit]
[-] QueueScheduler.d.ts
[edit]
[-] AsapAction.js.map
[edit]
[-] async.js.map
[edit]
[-] VirtualTimeScheduler.js.map
[edit]
[-] AnimationFrameScheduler.d.ts
[edit]
[-] QueueAction.js
[edit]
[-] AsyncScheduler.js.map
[edit]
[-] AnimationFrameAction.d.ts
[edit]
[-] AnimationFrameScheduler.js
[edit]
[-] AsyncAction.js
[edit]
[-] Action.js.map
[edit]
[-] asap.js
[edit]
[-] QueueAction.d.ts
[edit]
[-] async.js
[edit]
[-] AsyncAction.js.map
[edit]
[-] AsapScheduler.js
[edit]
[-] AsapAction.js
[edit]
[-] asap.d.ts
[edit]
[-] QueueScheduler.js.map
[edit]
[-] animationFrame.js
[edit]
[-] QueueAction.js.map
[edit]
[-] queue.d.ts
[edit]
[-] AnimationFrameAction.js.map
[edit]
[-] AnimationFrameScheduler.js.map
[edit]
[-] AsapScheduler.d.ts
[edit]
[-] AsyncAction.d.ts
[edit]
[-] Action.d.ts
[edit]
[-] AsyncScheduler.d.ts
[edit]
[-] queue.js.map
[edit]
[-] Action.js
[edit]
[-] VirtualTimeScheduler.js
[edit]