Skip to content

Instantly share code, notes, and snippets.

@bilalucar
Created Jul 5, 2017
Embed
What would you like to do?
Push.js
Push.create("Hello world!", {
body: "How's it hangin'?",
icon: 'icon.png',
timeout: 4000,
onClick: function () {
window.focus();
this.close();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment