You can also get Zenscroll via npm: npm install zenscrollĮnabling native smooth-scrolling in the browser Important: You can only call Zenscroll when document.body is already available, so don’t try to call Zenscroll functions from the. Zenscroll will also work if you reference it in the but it is not recommended for performance reasons. A good place is at the very bottom, just before the closing tag. Limited support (programmatic animated scroll in document) tested and works under:ĭownload Zenscroll and include it into your page.
0 Comments
Leave a Reply. |