Skip to content

Instantly share code, notes, and snippets.

@maxdenaro
Created August 17, 2019 22:45
Show Gist options
  • Save maxdenaro/374528839354c2353d85785518be8715 to your computer and use it in GitHub Desktop.
Save maxdenaro/374528839354c2353d85785518be8715 to your computer and use it in GitHub Desktop.
WOW.js Webpack
// !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