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

Tip: consider adding default duration, iteration, delay for the init method / constructor + add the rootMargin also as an option #13

Open hidegh opened 1 year ago

hidegh commented 1 year ago

These global settings should be then overridable via the data elements. defaults:

Should replace #1, #11 too.


Otherwise great, simple and clean code! I like it! 👍

Since AOS uses own styles and has a lot of issues, So does WOW.js, And neither of them is alive,

This could be a solution, especially with the animate.css!

Please keep the solution simple, easy to read! I was desperate and to either use wow.js or create one with intersection and mutation observer, but thanx to you, I just can focus on real productive work.

Maybe you should add a call to developers who use it to STAR it on GH and eventually give a great word on social media by writing a simple post, etc. I surely will!