An open API service indexing awesome lists of open source software.

https://github.com/onface/animation-frame


https://github.com/onface/animation-frame

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

        

# face-animation-frame

## polyfill

```html

var some = requestAnimationFrame(function () {
console.log("do something")
})
cancelAnimationFrame(some)

```

## npm

```js
require('face-animation-frame')
var some = requestAnimationFrame(function () {
console.log("do something")
})
cancelAnimationFrame(some)
```

## fucking-weapp

[🖕 weapp](https://github.com/onface/fucking-weapp#requestanimationframe)

```js
var animationFrame = require('face-animation-frame')
var some = animationFrame.request(function () {
console.log("do something")
})
animationFrame.cancel(some)
```