OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright 2013 The Polymer Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style |
| 4 license that can be found in the LICENSE file. |
| 5 --> |
| 6 <link rel="import" href="../polymer/polymer.html"> |
| 7 |
| 8 <polymer-element name="polymer-page" attributes="fullbleed"> |
| 9 <script> |
| 10 Polymer('polymer-page', { |
| 11 fullbleed: true, |
| 12 enteredView: function() { |
| 13 document.head.style.cssText += 'height: 100%; overflow: hidden; margin:
0;'; |
| 14 document.body.style.cssText += 'position: absolute; top: 0; right: 0; bo
ttom: 0; left: 0; overflow: hidden; margin: 0;'; |
| 15 document.body.style.transition = 'all 0.3s'; |
| 16 } |
| 17 }); |
| 18 </script> |
| 19 </polymer-element> |
OLD | NEW |