MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-icon-button / core-icon-button-extracted.js
blob0e7e8d782602cdab722e4583938a669eba847fd2
3 Polymer('core-icon-button', {
5 /**
6 * The URL of an image for the icon. Should not use `icon` property
7 * if you are using this property.
9 * @attribute src
10 * @type string
11 * @default ''
13 src: '',
15 /**
16 * If true, border is placed around the button to indicate it's
17 * active state.
19 * @attribute active
20 * @type boolean
21 * @default false
23 active: false,
25 /**
26 * Specifies the icon name or index in the set of icons available in
27 * the icon set. Should not use `src` property if you are using this
28 * property.
30 * @attribute icon
31 * @type string
32 * @default ''
34 icon: '',
36 activeChanged: function() {
37 this.classList.toggle('selected', this.active);
40 });