OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <!-- |
| 3 Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 4 for details. All rights reserved. Use of this source code is governed by a |
| 5 BSD-style license that can be found in the LICENSE file. |
| 6 --> |
| 7 <html> |
| 8 <head> |
| 9 |
| 10 <title>auto-binding test</title> |
| 11 <link rel="import" href="packages/polymer/polymer.html"> |
| 12 <script src="packages/unittest/test_controller.js"></script> |
| 13 </head> |
| 14 <body unresolved> |
| 15 |
| 16 <div>top</div> |
| 17 |
| 18 <template id="one" is="auto-binding-dart"> |
| 19 <h2 id="h" on-tap="{{eventAction}}">{{greeting}}</h2> |
| 20 </template> |
| 21 |
| 22 <template id="two" is="auto-binding-dart"> |
| 23 <div>Say something: <input value="{{value}}"></div> |
| 24 <div>You said: {{value}}</div> |
| 25 </template> |
| 26 |
| 27 <div>bottom</div> |
| 28 |
| 29 <script type="application/dart" src="auto_binding_test.dart"></script> |
| 30 |
| 31 </body> |
| 32 </html> |
OLD | NEW |