README
Animation Frame Polyfill
Installation
npm install animation-frame-polyfill --save
Example Usage (es2015)
import { requestAnimationFrame, cancelAnimationFrame } from 'animation-frame-polyfill';
Polyfill requestAnimationFrame and cancelAnimationFrame
<script type="module">
import animationFramePolyfill from 'https://cdn.skypack.dev/animation-frame-polyfill';
</script>
npm install animation-frame-polyfill --save
import { requestAnimationFrame, cancelAnimationFrame } from 'animation-frame-polyfill';