ashthornton / asscroll

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

containerElement question #53

Closed esseifforte closed 3 years ago

esseifforte commented 3 years ago

Hi, in [parameters.containerElement] default is "[asscroll-container]", but if I wanted to apply for example "[my-container]", and in html <div my-container> the result is <div my-container asscroll-container style=...........etc> why? This is only a question for full customization. Thanks in advance

ashthornton commented 3 years ago

Hi @esseifforte, ASScroll will add the asscroll-container and asscroll attributes to the relevant elements in order to apply some CSS in certain configurations. I may look at improving this by only adding these when the configuration is actually being used.