OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 library searchable_list.demo_app; | |
6 | |
7 import 'package:polymer/polymer.dart'; | |
8 | |
9 @CustomTag('demo-app') | |
10 class DemoApp extends PolymerElement { | |
11 @observable bool applyAuthorStyles = true; | |
12 List<String> fruits = const [ | |
13 'Apple', 'Apricot', 'Avocado', | |
14 'Banana', 'Blackberry', 'Blackcurrant', 'Blueberry', | |
15 'Currant', 'Cherry', 'Clementine', 'Date', 'Durian', 'Fig', | |
16 'Gooseberry', 'Grape', 'Grapefruit', 'Guava', 'Huckleberry', | |
17 'Kiwi', 'Lemon', 'Lime', 'Lychee', 'Mandarin', 'Mango', | |
18 'Cantaloupe', 'Honeydew melon', 'Nectarine', 'Orange', | |
19 'Peach', 'Pear', 'Plum', 'Pineapple', 'Pomegranate', | |
20 'Raspberry', 'Redcurrant', 'Star fruit', 'Strawberry', | |
21 'Tangerine', 'Tomato', 'Watermelon']; | |
22 | |
23 DemoApp.created() : super.created(); | |
24 } | |
OLD | NEW |