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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js

Issue 1984963002: Roll Polymer elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js
index defbf02a519fb1e09b9f17a4e1386c05d03f579d..5dddd75b475fe47a20bedf2a80c521a6931e9f78 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/paper-button/paper-button-extracted.js
@@ -1,36 +1,36 @@
Polymer({
- is: 'paper-button',
+ is: 'paper-button',
- behaviors: [
- Polymer.PaperButtonBehavior
- ],
+ behaviors: [
+ Polymer.PaperButtonBehavior
+ ],
- properties: {
- /**
- * If true, the button should be styled with a shadow.
- */
- raised: {
- type: Boolean,
- reflectToAttribute: true,
- value: false,
- observer: '_calculateElevation'
- }
- },
+ properties: {
+ /**
+ * If true, the button should be styled with a shadow.
+ */
+ raised: {
+ type: Boolean,
+ reflectToAttribute: true,
+ value: false,
+ observer: '_calculateElevation'
+ }
+ },
- _calculateElevation: function() {
- if (!this.raised) {
- this._setElevation(0);
- } else {
- Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this);
+ _calculateElevation: function() {
+ if (!this.raised) {
+ this._setElevation(0);
+ } else {
+ Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this);
+ }
}
- }
- /**
- Fired when the animation finishes.
- This is useful if you want to wait until
- the ripple animation finishes to perform some action.
+ /**
+ Fired when the animation finishes.
+ This is useful if you want to wait until
+ the ripple animation finishes to perform some action.
- @event transitionend
- @param {{node: Object}} detail Contains the animated node.
- */
- });
+ @event transitionend
+ Event param: {{node: Object}} detail Contains the animated node.
+ */
+ });

Powered by Google App Engine
This is Rietveld 408576698