bloody-animationframe

1.0.0 • Public • Published

animationframe

browser support

install

$ npm install bloody-animationframe

require

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0
  • 0.0.2
    0
  • 0.0.1
    100
  • 0.0.0
    0

Package Sidebar

Install

npm i bloody-animationframe

Weekly Downloads

10

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bloodyowl