Open RohitKS7 opened 2 years ago
Hi @RohitKS7, there's no way of ASScroll knowing what element to use as the page.
You need to either pass it to the constructor options like: containerElement: document.querySelector(".site")
or add the attribute to the element in the HTML like: <div id="page" class="site" asscroll-container>
Hey, Asscroll team!
I love your product very much but recently when trying to use it in this codepen https://codepen.io/rohitks7/pen/BaYjgXY?editors=0010
it's not working at all. What am I doing wrong?
Can anybody help me! thanks in advance.