dom-throttle

Creates a throttled function that only invokes every requestAnimationFrame.

Usage no npm install needed!

<script type="module">
  import domThrottle from 'https://cdn.skypack.dev/dom-throttle';
</script>

README

dom-throttle

Creates a throttled function that only invokes every requestAnimationFrame.