bloody-animationframe
v1.0.0
Published
[ ](https://ci.testling.com/bloodyowl/animationframe)
Downloads
101
Readme
animationframe
install
$ npm install bloody-animationframerequire
var af = require("bloody-animationframe")api
af.requestAnimationFrame(fn) > id
executes fn on the next frame.
returns id identifier
af.next(fn) > id
alias for af.requestAnimationFrame
af.cancelAnimationFrame(id)
cancels the requestAnimationFrame that returned the given id.
