Facing problem with new dom-binding technique

50 views
Skip to first unread message

Tushar Mishra

unread,
Jun 3, 2015, 7:44:46 AM6/3/15
to polym...@googlegroups.com
Please help me in figuring out why this doesn't work.
I've made a simple element whose code is pasted here: http://pastebin.com/s47AY5K7 

The element shows up in the Dev tools of chrome with no errors in the console.
However the DOM does not show anything inside the span area of the element.

I am unable to figure out what could be causing this.
Please help me.

Daniel Llewellyn

unread,
Jun 3, 2015, 8:54:38 AM6/3/15
to Tushar Mishra, polym...@googlegroups.com
The {{}} needs to be wrapped such that it appears in its own dom node. Data binding is currently limited this way.

An example that should fix it is to add an additional span tag around your databinding

From: Tushar Mishra
Sent: ‎03/‎06/‎2015 12:44
To: polym...@googlegroups.com
Subject: [polymer-dev] Facing problem with new dom-binding technique

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAHzdEQjA2GUGbCHQ-_D8JF9czi1Xcf2fbjpHZQ8GxW6p7BKvBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages