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:
10
examples/input/index.sky
Normal file
10
examples/input/index.sky
Normal 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>
|
||||
12
examples/input/input_app.dart
Normal file
12
examples/input/input_app.dart
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user