OLD | NEW |
(Empty) | |
| 1 #!mojo mojo:sky_viewer |
| 2 <!-- |
| 3 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 4 // Use of this source code is governed by a BSD-style license that can be |
| 5 // found in the LICENSE file. |
| 6 --> |
| 7 <sky> |
| 8 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> |
| 9 <import src="example-scaffold.sky" /> |
| 10 |
| 11 <sky-element name="example-app"> |
| 12 <template> |
| 13 <example-scaffold> |
| 14 <div class="title">Awesome app</div> |
| 15 <div class="menu">This is a menu</div> |
| 16 <div class="body">This is an awesome app.</div> |
| 17 </example-scrollable> |
| 18 </template> |
| 19 <script> |
| 20 module.exports = class extends SkyElement { |
| 21 }.register(); |
| 22 </script> |
| 23 </sky-element> |
| 24 |
| 25 <example-app /> |
| 26 </sky> |
OLD | NEW |