OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polym
er.github.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/CO
NTRIBUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.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/P
ATENTS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt |
9 --> | 9 --> |
10 <!doctype html> | 10 <!doctype html> |
11 <html lang="en"> | 11 <html lang="en"> |
12 <head> | 12 <head> |
13 | 13 |
14 <meta charset="utf-8"> | 14 <meta charset="utf-8"> |
15 <title>Core Tooltip</title> | 15 <title>Core Tooltip</title> |
16 | 16 |
17 <script src="../platform/platform.js"></script> | 17 <script src="../webcomponentsjs/webcomponents.js"></script> |
18 | 18 |
19 <link rel="import" href="../core-icon-button/core-icon-button.html"> | 19 <link rel="import" href="../core-icon-button/core-icon-button.html"> |
20 <link rel="import" href="../paper-fab/paper-fab.html"> | 20 <link rel="import" href="../paper-fab/paper-fab.html"> |
21 <link rel="import" href="core-tooltip.html"> | 21 <link rel="import" href="core-tooltip.html"> |
22 | 22 |
23 <style> | 23 <style> |
24 body { | 24 body { |
25 font-family: "Open Sans", sans-serif; | 25 font-family: "Open Sans", sans-serif; |
26 font-weight: 300; | 26 font-weight: 300; |
27 padding: 24px; | 27 padding: 24px; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 document.querySelector('#fillbutton').addEventListener('click', function(e) { | 201 document.querySelector('#fillbutton').addEventListener('click', function(e) { |
202 e.stopPropagation(); | 202 e.stopPropagation(); |
203 | 203 |
204 var el = document.querySelector('#dynamic'); | 204 var el = document.querySelector('#dynamic'); |
205 el.insertAdjacentHTML('beforeend', '<div tip><b>See</b>. Told ya so!</div>')
; | 205 el.insertAdjacentHTML('beforeend', '<div tip><b>See</b>. Told ya so!</div>')
; |
206 | 206 |
207 }); | 207 }); |
208 </script> | 208 </script> |
209 | 209 |
210 </body> | 210 </body> |
211 </html> | 211 </html> |
OLD | NEW |