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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-button/paper-button-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
3 Polymer({
4
5 behaviors: [
6 Polymer.PaperButtonBehavior
7 ],
8
9 properties: {
10
11 /**
12 * If true, the button should be styled with a shadow.
13 *
14 * @attribute raised
15 * @type boolean
16 * @default false
17 */
18 raised: {
19 type: Boolean,
20 reflectToAttribute: true,
21 value: false,
22 observer: '_buttonStateChanged'
23 }
24
25 },
26
27 ready: function() {
28 if (!this.hasAttribute('role')) {
29 this.setAttribute('role', 'button');
30 }
31 },
32
33 _buttonStateChanged: function() {
34 this._calculateElevation();
35 }
36
37 });
38
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698