mciastek / sal

🚀 Performance focused, lightweight scroll animation library 🚀
https://mciastek.github.io/sal/
MIT License
3.6k stars 179 forks source link

Feature Request #94

Open sean-au opened 3 years ago

sean-au commented 3 years ago

Sal would be much easier to use if the following options which are set with data tags can be configured when initialising the library with javascript data-sal-duration data-sal-delay data-sal-easing

e.g.
sal({
  threshold: 1,
  once: false,
  duration: 1000,
  delay: 1000,
  easing: 
});