OLD | NEW |
| (Empty) |
1 <!-- | |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | |
6 Code distributed by Google as part of the polymer project is also | |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | |
8 --><!-- | |
9 `core-icon-button` is an icon with button behaviors. | |
10 | |
11 <core-icon-button src="star.png"></core-icon-button> | |
12 | |
13 `core-icon-button` includes a default icon set. Use `icon` to specify | |
14 which icon from the icon set to use. | |
15 | |
16 <core-icon-button icon="menu"></core-icon-button> | |
17 | |
18 See [`core-iconset`](#core-iconset) for more information about | |
19 how to use a custom icon set. | |
20 | |
21 @group Polymer Core Elements | |
22 @element core-icon-button | |
23 @homepage github.io | |
24 --><html><head><link rel="import" href="../core-icon/core-icon.html"> | |
25 <link rel="import" href="../core-icons/core-icons.html"> | |
26 | |
27 </head><body><polymer-element name="core-icon-button" attributes="src icon activ
e" assetpath=""> | |
28 | |
29 <template> | |
30 <link rel="stylesheet" href="core-icon-button.css"> | |
31 <core-icon src="{{src}}" icon="{{icon}}"></core-icon><content></content> | |
32 </template> | |
33 | |
34 | |
35 | |
36 </polymer-element> | |
37 <script charset="utf-8" src="core-icon-button-extracted.js"></script></body></ht
ml> | |
OLD | NEW |