mamunhpath / josh.js

A JavaScript library to animate content on page scroll.
https://mamunhpath.github.io/josh.js/
MIT License
409 stars 19 forks source link

Tips: consider standardizing the data attributes #15

Open hidegh opened 1 year ago

hidegh commented 1 year ago

data-josh-anim-name="lightSpeedInRight" data-josh-duration="1500ms" data-josh-anim-delay="3.5s" data-josh-iteration="infinite"

as this is a breaking change, advising:

  1. updating major version and use just data-josh-delay, etc. names
  2. updating readme and leave a note on this there