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

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

Issue 1140583003: Material PDF: Add required Polymer 0.8 elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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
1 1
2 Polymer({ 2 Polymer({
3 is: 'paper-icon-button', 3 is: 'paper-fab',
4
5 enableCustomStyleProperties: true,
4 6
5 behaviors: [ 7 behaviors: [
6 Polymer.PaperButtonBehavior 8 Polymer.PaperButtonBehavior
7 ], 9 ],
8 10
9 enableCustomStyleProperties: true,
10
11 properties: { 11 properties: {
12 /** 12 /**
13 * The URL of an image for the icon. If the src property is specified, 13 * The URL of an image for the icon. If the src property is specified,
14 * the icon property should not be. 14 * the icon property should not be.
15 *
16 * @attribute src
17 * @type string
18 * @default ''
15 */ 19 */
16 src: { 20 src: {
17 type: String 21 type: String,
22 value: ''
18 }, 23 },
19 24
20 /** 25 /**
21 * Specifies the icon name or index in the set of icons available in 26 * Specifies the icon name or index in the set of icons available in
22 * the icon's icon set. If the icon property is specified, 27 * the icon's icon set. If the icon property is specified,
23 * the src property should not be. 28 * the src property should not be.
29 *
30 * @attribute icon
31 * @type string
32 * @default ''
24 */ 33 */
25 icon: { 34 icon: {
26 type: String 35 type: String,
36 value: ''
37 },
38
39 /**
40 * Set this to true to style this is a "mini" FAB.
41 *
42 * @attribute mini
43 * @type boolean
44 * @default false
45 */
46 mini: {
47 type: Boolean,
48 value: false
27 } 49 }
28 } 50 }
29 }); 51 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698