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

Side by Side Diff: third_party/polymer/components-chromium/core-icon-button/core-icon-button.html

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(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
10 <!--
11 `core-icon-button` is an icon with button behaviors.
12
13 <core-icon-button src="star.png"></core-icon-button>
14
15 `core-icon-button` includes a default icon set. Use `icon` to specify
16 which icon from the icon set to use.
17
18 <core-icon-button icon="menu"></core-icon-button>
19
20 See [`core-iconset`](#core-iconset) for more information about
21 how to use a custom icon set.
22
23 @group Polymer Core Elements
24 @element core-icon-button
25 @homepage github.io
26 -->
27
28 <link rel="import" href="../core-icon/core-icon.html">
29 <link rel="import" href="../core-icons/core-icons.html">
30
31 <polymer-element name="core-icon-button" attributes="src icon active" assetpath= "">
32
33 <template>
34 <link rel="stylesheet" href="core-icon-button.css">
35 <core-icon src="{{src}}" icon="{{icon}}"></core-icon><content></content>
36 </template>
37
38
39
40 </polymer-element>
41 <script src="core-icon-button-extracted.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698