Last active
August 7, 2018 07:13
-
-
Save imaustink/d1bbcf39319af79251d2ac873794909d to your computer and use it in GitHub Desktop.
A demo of the devicechange event
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
navigator.mediaDevices | |
.addEventListener('devicechange', () => { | |
console.log('Changed!') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment