Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: third_party/polymer/components-chromium/paper-item/paper-item-extracted.js

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1
2 Polymer('paper-item', {
3
4 publish: {
5
6 /**
7 * The label for the item.
8 *
9 * @attribute label
10 * @type string
11 * @default ''
12 */
13 label: '',
14
15 /**
16 * (optional) The URL of an image for an icon to use in the button.
17 * Should not use `icon` property if you are using this property.
18 *
19 * @attribute iconSrc
20 * @type string
21 * @default ''
22 */
23 iconSrc: '',
24
25 /**
26 * (optional) Specifies the icon name or index in the set of icons
27 * available in the icon set. If using this property, load the icon
28 * set separately where the icon is used. Should not use `src`
29 * if you are using this property.
30 *
31 * @attribute icon
32 * @type string
33 * @default ''
34 */
35 icon: ''
36
37 },
38
39 eventDelegates: {
40 'down': 'downAction',
41 'up': 'upAction'
42 },
43
44 downAction: function(e) {
45 this.$.ripple.downAction(e);
46 },
47
48 upAction: function(e) {
49 this.$.ripple.upAction(e);
50 }
51 });
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698