Created
February 19, 2015 12:50
-
-
Save ducksoupdev/e904c62fed56c3ce988a to your computer and use it in GitHub Desktop.
Fire onorientationchange in Chrome
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
Run this in the console: | |
window.dispatchEvent(new Event('orientationchange')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment