Created
November 11, 2019 22:34
-
-
Save djcsdy/5e0a52059171df180b5c84193aa8971b to your computer and use it in GitHub Desktop.
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
Notification.requestPermission() | |
.then(() => new Notification("Welcome to ecco", { | |
body: "This is some body text" | |
})); | |
// See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment