what is the difference between {{}} and [[]] in the the template data binding?

38 views
Skip to first unread message

wilby yang

unread,
Sep 7, 2016, 4:49:52 AM9/7/16
to Polymer
I sometimes come across {{}} syntax and sometimes [[]] in the template data binding. I am rather sure [[]] usage, which is referring the properties in the component. but what does {{}} do?

Jan Meijering

unread,
Sep 7, 2016, 5:33:42 AM9/7/16
to Polymer
The curly brackets is representing two way binding, the square ones one way:
Reply all
Reply to author
Forward
0 new messages