Created
June 9, 2020 11:23
-
-
Save parsibox/abf5134e0796ca1f93ac7c16ab0bd594 to your computer and use it in GitHub Desktop.
javascript simulate resize event
This file contains 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
window.dispatchEvent(new Event('resize')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment