"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webAnimation = void 0;
function webAnimation(window, opt) {
    const animation = {
        requestAnimationFrame: (callback) => {
            return window.requestAnimationFrame(callback);
        },
        cancelAnimationFrame: (frame) => {
            return window.cancelAnimationFrame(frame);
        },
    };
    return animation;
}
exports.webAnimation = webAnimation;
//# sourceMappingURL=animation.js.map