Created
August 23, 2018 20:30
-
-
Save luislobo14rap/3222644f60d4099df1201b3e75c788dd to your computer and use it in GitHub Desktop.
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
// simuleResize.js v1 | |
function simuleResize() { | |
window.dispatchEvent(new Event('resize')); | |
}; |
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
// simuleResize.min.js v1 | |
function simuleResize(){window.dispatchEvent(new Event("resize"))} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment