All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.lib.animation.requestAnimationFrame.js Maven / Gradle / Ivy

The newest version!
import env from '../core/env.js';
var requestAnimationFrame;
requestAnimationFrame = (env.hasGlobalWindow
    && ((window.requestAnimationFrame && window.requestAnimationFrame.bind(window))
        || (window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window))
        || window.mozRequestAnimationFrame
        || window.webkitRequestAnimationFrame)) || function (func) {
    return setTimeout(func, 16);
};
export default requestAnimationFrame;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy