Home | History | Annotate | Download | only in load
      1 <!doctype html>
      2 <!--
      3 @license
      4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
      5 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
      6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
      7 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
      8 Code distributed by Google as part of the polymer project is also
      9 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
     10 -->
     11 <html>
     12   <head>
     13     <title>neon-animated-pages demo: load</title>
     14 
     15     <meta charset="utf-8">
     16     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
     17     <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
     18 
     19     <script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
     20     <link rel="import" href="../../../iron-flex-layout/iron-flex-layout.html">
     21     <link rel="import" href="../../neon-animated-pages.html">
     22     <link rel="import" href="../../neon-animations.html">
     23     <link rel="import" href="full-page.html">
     24 
     25     <style is="custom-style">
     26       body {
     27         overflow: hidden;
     28         @apply(--layout-fullbleed);
     29       }
     30       full-page {
     31         @apply(--layout-fit);
     32       }
     33     </style>
     34   </head>
     35   <body>
     36 
     37     <full-page></full-page>
     38 
     39     <script>
     40 
     41       document.addEventListener('WebComponentsReady', function() {
     42         document.querySelector('full-page').show();
     43       });
     44 
     45     </script>
     46 
     47   </body>
     48 </html>
     49