jquery-delayed

Because $.fn.delay doesn't touch sync methods

Usage no npm install needed!

<script type="module">
  import jqueryDelayed from 'https://cdn.skypack.dev/jquery-delayed';
</script>

README

jquery-delayed

Because jQuery.fn.delay doesn't touch sync methods.

This is simply a jQuery.fn.delay wrapper for jQuery calls with

$('#temp')
  .delayed('addClass', 'bring-in-lights', 50)
  .delayed('addClass', 'bring-in-camera', 50)
  .delayed('removeClass', 'bring-in-lights', 50)
  .delayed('addClass', 'and-action', 50);