Created
December 3, 2019 19:47
-
-
Save sarvar/2c69ee39dc6e8feef2ad77df7a142471 to your computer and use it in GitHub Desktop.
Disable aos on mobile view
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
AOS.init({ | |
disable: function() { | |
var maxWidth = 992; | |
return window.innerWidth < maxWidth; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment