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

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

Issue 27417002: fix PolymerElement.bind to call reflectPropertyToAttribute w/ prop name (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update pkg.status Created 7 years, 2 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/prop_attr_bind_reflection_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>property to attribute reflection with bind</title>
5 <script src="packages/polymer/boot.js"></script>
6 <script src="packages/unittest/test_controller.js"></script>
7 </head>
8
9 <body>
10 <polymer-element name="my-child-element">
11 <template>
12 <h1>Hello from the child</h1>
13 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p>
14 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p>
15 </template>
16 </polymer-element>
17
18 <polymer-element name="my-element">
19 <template>
20 <h1>Hello from the custom element. The volume is {{volume}}</h1>
21 <p>
22 <my-child-element id="child"
23 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element>
24 </p>
25 </template>
26 </polymer-element>
27
28 <my-element></my-element>
29
30 <script type="application/dart" src="prop_attr_bind_reflection_test.dart">
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/test/prop_attr_bind_reflection_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698