OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 <dom-module id="test-button"> | 10 <dom-module id="test-button"> |
11 <template> | 11 <template> |
12 <style> | 12 <style> |
13 :host { | 13 :host { |
14 display: inline-block; | 14 display: inline-block; |
15 } | 15 } |
16 | 16 |
17 #button { | 17 #button { |
18 width: 100px; | 18 width: 100px; |
19 height: 20px; | 19 height: 20px; |
20 background-color: red; | 20 background-color: red; |
21 } | 21 } |
22 paper-tooltip { | 22 paper-tooltip { |
23 width: 70px; | 23 width: 30px; |
24 } | 24 } |
25 | 25 |
26 </style> | 26 </style> |
27 <div id="button"></div> | 27 <div id="button"></div> |
28 <paper-tooltip id="tooltip" for="button">Tooltip text</paper-tooltip> | 28 <paper-tooltip id="buttonTooltip" for="button">Tooltip text</paper-toolt
ip> |
29 </template> | 29 </template> |
30 </dom-module> | 30 </dom-module> |
OLD | NEW |