| Index: third_party/polymer/components-chromium/paper-icon-button/paper-icon-button-extracted.js
|
| diff --git a/third_party/polymer/components-chromium/paper-icon-button/paper-icon-button-extracted.js b/third_party/polymer/components-chromium/paper-icon-button/paper-icon-button-extracted.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4a6920b044b3c7f4feb9b63dfd6df2aff9e3b037
|
| --- /dev/null
|
| +++ b/third_party/polymer/components-chromium/paper-icon-button/paper-icon-button-extracted.js
|
| @@ -0,0 +1,35 @@
|
| +
|
| +
|
| + Polymer('paper-icon-button', {
|
| +
|
| + publish: {
|
| +
|
| + /**
|
| + * If true, the ripple expands to a square to fill the containing box.
|
| + *
|
| + * @attribute fill
|
| + * @type boolean
|
| + * @default false
|
| + */
|
| + fill: {value: false, reflect: true}
|
| +
|
| + },
|
| +
|
| + ready: function() {
|
| + this.$.ripple.classList.add('recenteringTouch');
|
| + this.fillChanged();
|
| + },
|
| +
|
| + fillChanged: function() {
|
| + this.$.ripple.classList.toggle('circle', !this.fill);
|
| + },
|
| +
|
| + iconChanged: function(oldIcon) {
|
| + if (!this.label) {
|
| + this.setAttribute('aria-label', this.icon);
|
| + }
|
| + }
|
| +
|
| + });
|
| +
|
| +
|
|
|