Re: [webcomponents]: What callbacks do custom elements need?

On Mar 6, 2013 2:07 PM, "Dimitri Glazkov" <dglazkov@google.com> wrote:
>
> Here are all the callbacks that we could think of:
>
> * readyCallback (artist formerly known as "create") -- called when the
> element is instantiated with generated constructor, createElement/NS
> or shortly after it was instantiated and placed in a tree during
> parser tree construction
>
> * attributeChangedCallback -- synchronously called when an attribute
> of an element is added, removed, or modified

This will have many of the same problems that mutation events had. I
believe we want to really stay away from synchronous.

So yes, this looks dangerous and crazy :-)

/ Jonas

Received on Friday, 8 March 2013 18:49:45 UTC