| OLD | NEW |
| (Empty) |
| 1 <!-- | |
| 2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 3 for details. All rights reserved. Use of this source code is governed by a | |
| 4 BSD-style license that can be found in the LICENSE file. | |
| 5 --> | |
| 6 <link rel="import" href="packages/polymer/polymer.html"> | |
| 7 <polymer-element name="searchable-list"> | |
| 8 <template> | |
| 9 <div class="container"> | |
| 10 <input class="form-control" type="text" value="{{searchParam}}"> | |
| 11 <template if="{{results.length > 0}}"> | |
| 12 <ul class="list-unstyled"> | |
| 13 <template repeat="{{result in results}}"> | |
| 14 <li>{{result}}</li> | |
| 15 </template> | |
| 16 </ul> | |
| 17 </template> | |
| 18 </div> | |
| 19 </template> | |
| 20 | |
| 21 <script type="application/dart" src="searchable_list.dart"></script> | |
| 22 </polymer-element> | |
| OLD | NEW |