Created
April 10, 2017 10:48
-
-
Save panayotoff/4b3e113e434298624c09425888fc8110 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
//Test if the PWA is running in standalone mode | |
window.matchMedia( '(display-mode: standalone)' ).matches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment