OLD | NEW |
1 <table class="intro"> | 1 <table class="intro"> |
2 <tr> | 2 <tr> |
3 <th scope="col"></th> | 3 <th scope="col"></th> |
4 <th scope="col"></th> | 4 <th scope="col"></th> |
5 </tr> | 5 </tr> |
6 <tr> | 6 <tr> |
7 <td><strong>Description:</strong></td> | |
8 <td>Use the <code>chrome.notifications</code> module | |
9 to create rich notifications using templates and | |
10 show these notifications to users in the system tray | |
11 (see <a href="#usage">Usage</a>).</td> | |
12 </tr> | |
13 <tr> | |
14 <td><strong>Availability:</strong></td> | |
15 <td>Google Chrome Dev Channel Only</td> | |
16 </tr> | |
17 <tr> | |
18 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
19 <td><code>"notifications"</code></td> | 8 <td><code>"notifications"</code></td> |
20 </tr> | 9 </tr> |
21 <tr> | 10 <tr> |
22 <td><strong>Learn more:</strong></td> | 11 <td><strong>Learn more:</strong></td> |
23 <td><a href="https://developers.google.com/live/shows/83992232-1001/">Chrome
Apps Office Hours: Rich Notifications</a></td> | 12 <td><a href="https://developers.google.com/live/shows/83992232-1001/">Chrome
Apps Office Hours: Rich Notifications</a></td> |
24 </tr> | 13 </tr> |
25 </table> | 14 </table> |
26 | 15 |
27 <p class="warning"> | 16 <p class="warning"> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 which respond to user actions. | 100 which respond to user actions. |
112 For example, | 101 For example, |
113 you can write an event handler to respond to an | 102 you can write an event handler to respond to an |
114 $ref:notifications.onButtonClicked event. | 103 $ref:notifications.onButtonClicked event. |
115 </p> | 104 </p> |
116 | 105 |
117 <p>Consider including event listeners and handlers within the | 106 <p>Consider including event listeners and handlers within the |
118 <a href="app_lifecycle.html#create_event_page">event page</a>, | 107 <a href="app_lifecycle.html#create_event_page">event page</a>, |
119 so that notifications can pop-up even when the app or extension isn't running. | 108 so that notifications can pop-up even when the app or extension isn't running. |
120 </p> | 109 </p> |
OLD | NEW |