mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
R=eseidel@chromium.org, esprehn@chromium.org Review URL: https://codereview.chromium.org/886723002
27 lines
671 B
Plaintext
27 lines
671 B
Plaintext
#!mojo mojo:sky_viewer
|
|
<!--
|
|
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
-->
|
|
<sky>
|
|
<import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" />
|
|
<import src="example-scaffold.sky" />
|
|
|
|
<sky-element name="example-app">
|
|
<template>
|
|
<example-scaffold>
|
|
<div class="title">Awesome app</div>
|
|
<div class="menu">This is a menu</div>
|
|
<div class="body">This is an awesome app.</div>
|
|
</example-scrollable>
|
|
</template>
|
|
<script>
|
|
module.exports = class extends SkyElement {
|
|
}.register();
|
|
</script>
|
|
</sky-element>
|
|
|
|
<example-app />
|
|
</sky>
|