Thank you

Looks interesting. I will give it a try.

Without documentation I am a bit concerned that I might miss memory leaks 
or problems with polyfills on IE, but seems to be a good starting point.

Hopefully documentation around polymer will become better. Sometimes it is 
a bit frustrating to find stuff - and Dart overshadows a lot of polymer - 
which makes it even harder for JavaScript Polymer developers to find 
anything.

Cheers
Bernd


On Tuesday, September 23, 2014 10:09:42 AM UTC+12, Eric Bidelman wrote:
>
> Would injectBoundHTML() be a good solution?
>
>
> http://stackoverflow.com/questions/25981318/polymer-how-to-create-element-with-binding/25982843#25982843
>
> On Mon, Sep 22, 2014 at 3:03 PM, Michael Bleigh <[email protected] 
> <javascript:>> wrote:
>
>> Are you looking to instantiate existing elements or register new ones on 
>> the fly? If you're just looking to create elements you've already defined, 
>> you can just use standard DOM APIs!
>>
>> var node = document.createElement("my-custom-element");
>> node.someProperty = "someValue";
>> this.appendChild(node)
>>
>>
>> If you're looking to define new ones on the fly, I'm not 100% sure why 
>> you'd want to and I'm also not 100% how, so I'll let someone else handle 
>> that.
>>
>> On Monday, September 22, 2014 2:59:43 PM UTC-7, [email protected] 
>> wrote:
>>>
>>> Hi
>>>
>>> I am going to write some more complicated elements like grids that have 
>>> dynamically created cells with polymer elements in each cell based on the 
>>> cell type.
>>>
>>> To do that I need to create and bind polymer elements programmatically 
>>> during runtime.
>>>
>>> I cannot find any documentation about that.
>>>
>>> Is it possible?
>>>
>>> How?
>>>
>>> Any risks/limitations with polyfills/life cycle/memory leaks?
>>>
>>> Thank you
>>> Bernd
>>>
>>  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/50624710-e235-46c1-b504-ea75cd5c503c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/50624710-e235-46c1-b504-ea75cd5c503c%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/7a8a8da1-c824-46ac-ab1f-8e46b400185f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to