W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Mar 2013 21:03:51 -0400
Message-ID: <513E7EF7.2000302@mit.edu>
To: Brian Kardell <bkardell@gmail.com>
CC: "public-webapps@w3.org" <public-webapps@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:59 UTC