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

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

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also remove polymer/explainer 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
(Empty)
1
2 Polymer({
3 is: 'paper-card',
4
5 enableCustomStyleProperties: true,
6
7 properties: {
8
9 /**
10 * The z-depth of this card, from 0-5. Setting to 0 will remove the
11 * shadow, and each increasing number greater than 0 will be "deeper"
12 * than the last.
13 *
14 * @attribute elevation
15 * @type number
16 * @default 1
17 */
18 elevation: {
19 type: Number,
20 reflectToAttribute: true,
21 value: 1
22 },
23
24 /**
25 * Set this to true to animate the shadow when setting a new
26 * `elevation` value.
27 *
28 * @attribute animated
29 * @type boolean
30 * @default false
31 */
32 animated: {
33 type: Boolean,
34 reflectToAttribute: true,
35 value: false
36 }
37 }
38 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698