templates has resolved this problem. But it is not dynamically behavior, 
templates must be created in polyemer-element early.

среда, 29 октября 2014 г., 10:39:55 UTC+3 пользователь David Waterman 
написал:
>
> I think you basically "can't do that". Perhaps you can use a template 
> bound to a property that is set in your showMdl function? ...along the 
> lines of this :
>
> <https://www.polymer-project.org/docs/polymer/template.html#if>
> On Wed Oct 29 2014 at 07:18:06 Антон Мирошниченко <[email protected] 
> <javascript:>> wrote:
>
>> Thanks. But i suppose it is not polymer way. Meaby my question is not 
>> correct. What if i need data-binding for a new element?
>>
>> среда, 29 октября 2014 г., 1:42:09 UTC+3 пользователь Claudius Nicolae 
>> написал:
>>
>>> newElement.addEventListener('click', this.clickOnDynamicllyElement);
>>>
>>> learn js and dom
>>>
>>  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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/d39e75e3-65a1-4637-837c-f3ece533acb7%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/d39e75e3-65a1-4637-837c-f3ece533acb7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/b48b3b1c-0179-402b-9742-195fafca0d0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to