hx-animation-helper

Scripting to handle adding and removing animation utility classes

Usage no npm install needed!

<script type="module">
  import hxAnimationHelper from 'https://cdn.skypack.dev/hx-animation-helper';
</script>

README

HX Animation Helper

This script is used to help toggle off and on animation classes by passing in a jQuery element object and a class or classes to toggle.

Installation

npm i hx-animation-helper

Usage

cosnt animationHelper = require('hx-animation-helper');

animationHelper($('#test'), 'animate-test');