| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 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 | 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 | 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 | 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 | 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 | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 8 --> | 8 --> |
| 9 | 9 |
| 10 <!-- | 10 <!-- |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 `core-scroll-header-panel` works well with `core-toolbar` but can use any elemen
t | 39 `core-scroll-header-panel` works well with `core-toolbar` but can use any elemen
t |
| 40 that represents a header by adding a `core-header` class to it. | 40 that represents a header by adding a `core-header` class to it. |
| 41 | 41 |
| 42 <core-scroll-header-panel> | 42 <core-scroll-header-panel> |
| 43 <core-toolbar>Header</core-toolbar> | 43 <core-toolbar>Header</core-toolbar> |
| 44 <div>Content goes here...</div> | 44 <div>Content goes here...</div> |
| 45 </core-scroll-header-panel> | 45 </core-scroll-header-panel> |
| 46 | 46 |
| 47 @group Polymer Core Elements | 47 @group Polymer Core Elements |
| 48 @element core-scroll-header-panel | 48 @element core-scroll-header-panel |
| 49 @mixins Polymer.CoreResizable https://github.com/polymer/core-resizable |
| 49 @homepage github.io | 50 @homepage github.io |
| 50 --> | 51 --> |
| 51 | 52 |
| 52 <link rel="import" href="../polymer/polymer.html"> | 53 <link rel="import" href="../polymer/polymer.html"> |
| 53 <link rel="import" href="../core-resizable/core-resizable.html"> | 54 <link rel="import" href="../core-resizable/core-resizable.html"> |
| 54 | 55 |
| 55 <polymer-element name="core-scroll-header-panel"> | 56 <polymer-element name="core-scroll-header-panel"> |
| 56 <template> | 57 <template> |
| 57 | 58 |
| 58 <link rel="stylesheet" href="core-scroll-header-panel.css"> | 59 <link rel="stylesheet" href="core-scroll-header-panel.css"> |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 } else { | 351 } else { |
| 351 var setTransform = function(style, string) { | 352 var setTransform = function(style, string) { |
| 352 style.webkitTransform = string; | 353 style.webkitTransform = string; |
| 353 } | 354 } |
| 354 } | 355 } |
| 355 | 356 |
| 356 })(); | 357 })(); |
| 357 | 358 |
| 358 </script> | 359 </script> |
| 359 </polymer-element> | 360 </polymer-element> |
| OLD | NEW |