I've been thinking of a way to wrap web components within my own system.

One of the concepts I would like to use is listening for web components 
coming to life within the page.

After some research I found this is not possible, or maybe it is, if so 
please tell me :-)

Instead for having to search the components by using something like 
querySelector,
we could just listen on the registry and act once components are ready so a 
controller can act accordingly.

All I found was a callback which can be used during registration, to me it 
seems less useable because each component
would have to be modified to include this callback.

My main question is, why aren't the custom element lifecycle events emitted 
as such on the document's registry ?

I think emitting these events would not be very expensive yet very useful.

http://www.w3.org/TR/2013/WD-custom-elements-20131024/#custom-element-lifecycle

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/1e59be33-2bc6-4937-a16e-e611b599626a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to