Added export-helpers page

This commit is contained in:
Will Bamberg
2017-10-10 13:41:20 -07:00
parent 49dddba366
commit 236f1b0b3a
3 changed files with 24 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const button1 = document.querySelector("#function-notify");
button1.addEventListener("click", () => {
window.notify("Message from the page script!");
});
const button2 = document.querySelector("#object-notify");
button2.addEventListener("click", () => {
window.messenger.notify("Message from the page script!");
});