Skip to content

afeiship/next-throttle

Repository files navigation

next-throttle

Throttle for next.

usage:

<div class="actions">
  <button id="btn3">click with throttle!!!</button>
</div>

<script type="text/javascript">
  document.querySelector('#btn3').onclick = nx.throttle(function () {
    console.log('on click! with throttle!');
  });
</script>

Releases

No releases published

Packages

No packages published