Observed since 20 Oct, 20:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Performance Timing Functions for UI Development
(4d === fourth dimension === t)
4d Is at least compatible with IE8 +
require('4d')
define(['$4d'] , function ($4d) {...
import {debounce, throttle, timeout } from '4d'
src="4d.js'
cancel(requestID)
window.cancelAnimationFrame()
The most comprehensive polyfill for cancelAnimationFrame. cancel() avoids mutation of the native object to prevent overriding of cancelAnimationFrame implementations that may be used within other libraries.
cancel() cancels an animation frame request previously scheduled through a call to request() or window.requestAnimationFrame().
import { cancel } from '4d'
// id === some requestAnimationFrame ID.
cancel(id)
See more.
request(callback[DOMHighResTimeStamp])
window.requestAnimationFrame(callback[DOMHighResTimeStamp])
The most comprehensive polyfill for requestAnimationFrame. request() avoids mutation of the native object to prevent overriding of requestAnimationFrame implementations that may be used within other libraries.
request() tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes as an argument a callback to be invoked before the repaint.
import { request } from '4d'
// Animate.
const animate = (highResTimestamp) => {
request(animate);
// Animate something...
}
// Start the animation on the next available frame.
request(animate);
See more.
Copyright (c) 2016 Julien Etienne
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:60961583176397ef2c95886302bbcf4bcc551bbd19f151c04d85592352d6fdd9