ashthornton / asscroll

Ash's Smooth Scroll 🍑
MIT License
948 stars 27 forks source link

Question about data prop usage in HTML #32

Closed stevengrimaldo closed 3 years ago

stevengrimaldo commented 3 years ago

Is there a plan to put in the README the available properties in HTML? or is there and i'm not seeing it?

I ask because i am comparing using this to locomotive and i see you have data-speed available which i like but it makes me then want to know what else i can do with ASS.

thank you :)

ashthornton commented 3 years ago

Hi @stevengrimaldo , where are you seeing the data-speed attribute?

ASScroll only provides smooth scroll, which you then combine with your own way of animating things on scroll like by using GSAP's ScrollTrigger as shown in this demo.