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

On 3/11/13 8:59 PM, Brian Kardell wrote:
> Is it very difficult to provide "here is an attribute I'm watching + a
> callback"?

It's not super-difficult but it adds more complication to 
already-complicated code....

One big question is whether in practice the attribute that will be 
changing is one that the consumer cares about or not.  If it's the 
former, it makes somewhat more sense to put the checking of which 
attribute in the consumer.

-Boris

Received on Tuesday, 12 March 2013 01:04:19 UTC