OLD | NEW |
(Empty) | |
| 1 --- |
| 2 layout: default |
| 3 title: Using the Notifications API |
| 4 live_example_url: example/index.html |
| 5 |
| 6 header: |
| 7 css: ["/samples/samples.css"] |
| 8 --- |
| 9 |
| 10 ## {{ page.title }} |
| 11 |
| 12 A simple example showing use of the Notifications API. To find out more about |
| 13 this API, read the |
| 14 [Using the Notifications |
| 15 API](http://www.html5rocks.com/en/tutorials/notifications/quick) article by |
| 16 Ernest Delgado, originally published on HTML5Rocks. |
| 17 |
| 18 The Notifications API allows you to display notifications to the user for |
| 19 given events, both passively (new emails, tweets, or calendar events) and on |
| 20 user interactions. |
| 21 |
| 22 You can open the example in Dart Editor and run it by clicking `index.html`. |
| 23 Read the |
| 24 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/notific
ations/quick). |
| 25 |
| 26 <iframe class="running-app-frame" |
| 27 style="height:500px;width:100%;" |
| 28 src="{{page.live_example_url}}"> |
| 29 </iframe> |
| 30 |
| 31 See all [samples](/samples/). |
OLD | NEW |