Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: packages/polymer/test/event_controller_test.html

Issue 2312183003: Removed Polymer from Observatory deps (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 Copyright (c) 2013, 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
9 <head>
10 <title>attached binding test</title>
11 <script src="packages/web_components/dart_support.js"></script>
12 <link rel="import" href="packages/polymer/polymer.html">
13 <script src="packages/unittest/test_controller.js"></script>
14 </head>
15 <body>
16 This tests that eventController can properly be detected from dart,
17 javascript, and native elements.
18 <br>
19
20 <polymer-element name="x-js" noscript>
21 <template>click x-js!</template>
22 </polymer-element>
23
24 <polymer-element name="x-dart">
25 <template>click x-dart!</template>
26 </polymer-element>
27
28 <polymer-element name="x-controller">
29 <template>
30 <button on-click="{{clickButton}}">Click me</button>
31 <x-js on-click="{{clickXJs}}"></x-js>
32 <x-dart on-click="{{clickXDart}}"></x-dart>
33 </template>
34 </polymer-element>
35
36 <x-controller></x-controller>
37
38 <script type="application/dart" src="event_controller_test.dart"></script>
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « packages/polymer/test/event_controller_test.dart ('k') | packages/polymer/test/event_handlers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698