| OLD | NEW |
| (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> |
| OLD | NEW |