Sha256: 5c319e815f86cbb712eb0883fe43c129f120f9d7a336dd346ab8f5f741a401b2

Contents?: true

Size: 1.51 KB

Versions: 49

Compression:

Stored size: 1.51 KB

Contents

{"version":3,"file":"animationFrame.js","sourceRoot":"","sources":["../../src/scheduler/animationFrame.ts"],"names":[],"mappings":";AAAA,qCAAqC,wBAAwB,CAAC,CAAA;AAC9D,wCAAwC,2BAA2B,CAAC,CAAA;AAEpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEU,sBAAc,GAAG,IAAI,iDAAuB,CAAC,2CAAoB,CAAC,CAAC","sourcesContent":["import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\n\n/**\n *\n * Animation Frame Scheduler\n *\n * <span class=\"informal\">Perform task when `window.requestAnimationFrame` would fire</span>\n *\n * When `animationFrame` scheduler is used with delay, it will fall back to {@link async} scheduler\n * behaviour.\n *\n * Without delay, `animationFrame` scheduler can be used to create smooth browser animations.\n * It makes sure scheduled task will happen just before next browser content repaint,\n * thus performing animations as efficiently as possible.\n *\n * @example <caption>Schedule div height animation</caption>\n * const div = document.querySelector('.some-div');\n *\n * Rx.Scheduler.schedule(function(height) {\n *   div.style.height = height + \"px\";\n *\n *   this.schedule(height + 1);  // `this` references currently executing Action,\n *                               // which we reschedule with new state\n * }, 0, 0);\n *\n * // You will see .some-div element growing in height\n *\n *\n * @static true\n * @name animationFrame\n * @owner Scheduler\n */\n\nexport const animationFrame = new AnimationFrameScheduler(AnimationFrameAction);\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/scheduler/animationFrame.js.map
ilog-0.4.0 node_modules/rxjs/scheduler/animationFrame.js.map
ilog-0.3.3 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-18.0.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.21.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.20.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.19.1 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.19.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.18.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.17.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.16.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.15.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.14.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.13.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.12.2 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.12.1 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.12.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.11.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.10.0 node_modules/rxjs/scheduler/animationFrame.js.map
govuk_publishing_components-17.9.0 node_modules/rxjs/scheduler/animationFrame.js.map