OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 | 10 |
11 <link rel="import" href="../polymer/polymer.html"> | 11 <link rel="import" href="../polymer/polymer.html"> |
12 <link rel="import" href="../iron-a11y-announcer/iron-a11y-announcer.html"> | 12 <link rel="import" href="../iron-a11y-announcer/iron-a11y-announcer.html"> |
13 <link rel="import" href="../iron-overlay-behavior/iron-overlay-behavior.html"> | 13 <link rel="import" href="../iron-overlay-behavior/iron-overlay-behavior.html"> |
14 | 14 |
15 <!-- | 15 <!-- |
16 Material design: [Snackbards & toasts](https://www.google.com/design/spec/compon
ents/snackbars-toasts.html) | 16 Material design: [Snackbars & toasts](https://www.google.com/design/spec/compone
nts/snackbars-toasts.html) |
17 | 17 |
18 `paper-toast` provides a subtle notification toast. Only one `paper-toast` will | 18 `paper-toast` provides a subtle notification toast. Only one `paper-toast` will |
19 be visible on screen. | 19 be visible on screen. |
20 | 20 |
21 Use `opened` to show the toast: | 21 Use `opened` to show the toast: |
22 | 22 |
23 Example: | 23 Example: |
24 | 24 |
25 <paper-toast text="Hello world!" opened></paper-toast> | 25 <paper-toast text="Hello world!" opened></paper-toast> |
26 | 26 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 /** | 314 /** |
315 * Fired when `paper-toast` is opened. | 315 * Fired when `paper-toast` is opened. |
316 * | 316 * |
317 * @event 'iron-announce' | 317 * @event 'iron-announce' |
318 * @param {{text: string}} detail Contains text that will be announced. | 318 * @param {{text: string}} detail Contains text that will be announced. |
319 */ | 319 */ |
320 }); | 320 }); |
321 })(); | 321 })(); |
322 </script> | 322 </script> |
323 </dom-module> | 323 </dom-module> |
OLD | NEW |