From 44556aec87f7ae86de89e045c0bb4c15c7547b4a Mon Sep 17 00:00:00 2001 From: Fabien Garcia Date: Sun, 30 Jun 2013 22:48:52 +0200 Subject: [PATCH] example proposal for html5 notification. --- example-notification.html | 12 ++++++++++++ example-notification.js | 8 ++++++++ 2 files changed, 20 insertions(+) create mode 100644 example-notification.html create mode 100644 example-notification.js diff --git a/example-notification.html b/example-notification.html new file mode 100644 index 0000000..d9266c4 --- /dev/null +++ b/example-notification.html @@ -0,0 +1,12 @@ + + + +Example: h5.notification + + +

Example: h5.notification

+ + + + + \ No newline at end of file diff --git a/example-notification.js b/example-notification.js new file mode 100644 index 0000000..13e6883 --- /dev/null +++ b/example-notification.js @@ -0,0 +1,8 @@ +notification = h5.notification(); + +notification +.show({ + title: "notification title", + content: "notification content", //optional + image: "/path/to/image" // optional +});