Move material Input component into sky/framework

The implementation details are in sky/framework/editing.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/983213005
This commit is contained in:
Adam Barth
2015-03-10 15:03:10 -07:00
parent a04c6b09ef
commit 0f99e272d8
6 changed files with 4 additions and 306 deletions

10
examples/input/index.sky Normal file
View File

@@ -0,0 +1,10 @@
#!mojo mojo:sky_viewer
<sky>
<import src="/sky/framework/debug/shake-to-reload.sky" />
<script>
import 'input_app.dart';
main() {
new InputApp();
}
</script>
</sky>

View File

@@ -0,0 +1,12 @@
// 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.
import '../../framework/fn.dart';
import '../../framework/components/input.dart';
class InputApp extends App {
Node build() {
return new Input();
}
}