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

https://github.com/glebmachine/throttle-by-raf

Create throttle function by request Animation Frame
https://github.com/glebmachine/throttle-by-raf

Last synced: about 1 month ago
JSON representation

Create throttle function by request Animation Frame

Awesome Lists containing this project

README

        

# throttle-by-raf
Create throttle function by requestAnimationFrame

```js
function handler() {
console.log('this should trigger once per RAF frame')
}

$('html').mousemove(throttleByRAF(handler))
```