Created
August 17, 2019 22:45
-
-
Save maxdenaro/374528839354c2353d85785518be8715 to your computer and use it in GitHub Desktop.
WOW.js Webpack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// !IMPORTANT: required wow.js | |
// npm i wowjs | |
const WOW = require('wowjs'); | |
if ($(window).width() >= 1025) { | |
window.wow = new WOW.WOW({ | |
live: false | |
}); | |
window.wow.init({ | |
offset: 50, | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment