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

Side by Side Diff: pkg/polymer/test/prop_attr_bind_reflection_test.html

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/test/noscript_test.html ('k') | pkg/polymer/test/prop_attr_reflection_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!--polymer-test: this comment is needed for test_suite.dart--> 3 <!--polymer-test: this comment is needed for test_suite.dart-->
4 <head> 4 <head>
5 <title>property to attribute reflection with bind</title> 5 <title>property to attribute reflection with bind</title>
6 <link rel="import" href="packages/polymer/polymer.html">
6 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> 7 <script src="/root_dart/tools/testing/dart/test_controller.js"></script>
7 </head> 8 </head>
8 9
9 <body> 10 <body>
10 <polymer-element name="my-child-element"> 11 <polymer-element name="my-child-element">
11 <template> 12 <template>
12 <h1>Hello from the child</h1> 13 <h1>Hello from the child</h1>
13 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p> 14 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p>
14 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p> 15 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p>
15 </template> 16 </template>
16 </polymer-element> 17 </polymer-element>
17 18
18 <polymer-element name="my-element"> 19 <polymer-element name="my-element">
19 <template> 20 <template>
20 <h1>Hello from the custom element. The volume is {{volume}}</h1> 21 <h1>Hello from the custom element. The volume is {{volume}}</h1>
21 <p> 22 <p>
22 <my-child-element id="child" 23 <my-child-element id="child"
23 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element> 24 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element>
24 </p> 25 </p>
25 </template> 26 </template>
26 </polymer-element> 27 </polymer-element>
27 28
28 <my-element></my-element> 29 <my-element></my-element>
29 30
30 <script type="application/dart" src="prop_attr_bind_reflection_test.dart"> 31 <script type="application/dart" src="prop_attr_bind_reflection_test.dart">
31 </script> 32 </script>
32 </body> 33 </body>
33 </html> 34 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/test/noscript_test.html ('k') | pkg/polymer/test/prop_attr_reflection_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698