| Index: third_party/polymer/components-chromium/core-icon-button/core-icon-button-extracted.js
|
| diff --git a/third_party/polymer/components-chromium/core-icon-button/core-icon-button-extracted.js b/third_party/polymer/components-chromium/core-icon-button/core-icon-button-extracted.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0e7e8d782602cdab722e4583938a669eba847fd2
|
| --- /dev/null
|
| +++ b/third_party/polymer/components-chromium/core-icon-button/core-icon-button-extracted.js
|
| @@ -0,0 +1,42 @@
|
| +
|
| +
|
| + Polymer('core-icon-button', {
|
| +
|
| + /**
|
| + * The URL of an image for the icon. Should not use `icon` property
|
| + * if you are using this property.
|
| + *
|
| + * @attribute src
|
| + * @type string
|
| + * @default ''
|
| + */
|
| + src: '',
|
| +
|
| + /**
|
| + * If true, border is placed around the button to indicate it's
|
| + * active state.
|
| + *
|
| + * @attribute active
|
| + * @type boolean
|
| + * @default false
|
| + */
|
| + active: false,
|
| +
|
| + /**
|
| + * Specifies the icon name or index in the set of icons available in
|
| + * the icon set. Should not use `src` property if you are using this
|
| + * property.
|
| + *
|
| + * @attribute icon
|
| + * @type string
|
| + * @default ''
|
| + */
|
| + icon: '',
|
| +
|
| + activeChanged: function() {
|
| + this.classList.toggle('selected', this.active);
|
| + }
|
| +
|
| + });
|
| +
|
| +
|
|
|