Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INIT AOS
- ----// Refs
- <link rel="stylesheet" href="swfiles/body/aos.css">
- <script src="swfiles/body/aos.js"></script>
- ----// JS
- window.addEventListener('load', e => {
- const deviceWidth = window.innerWidth;
- AOS.init({
- disable: deviceWidth < 991,
- startEvent: 'DOMContentLoaded',
- initClassName: 'aos-init',
- animatedClassName: 'aos-animate',
- useClassNames: false,
- disableMutationObserver: false,
- debounceDelay: 50,
- throttleDelay: 99
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement