Last active
July 6, 2017 11:03
-
-
Save heypiotr/b5a1ec573832800254244f67489b50a2 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
| mirror.listen(Mirror.Events.USER_DATA, { | |
| ondata: (event) => { | |
| let hello = `Hello, ${event.data.userName}`; | |
| document.getElementById("placeholder").innerText = hello; | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment