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

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

From: Brian Kardell <bkardell@gmail.com>
Date: Mon, 11 Mar 2013 18:02:22 -0700
Message-ID: <CADC=+jc6XbR=JzKScQUyvS28W=s6hOUai-9sqtoNPMLdjJ=yOA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
Sorry I clicked send accidentally there... I meant to mention that I think
this is sort of the intent of attributeFilter in mutation observers....


On Mon, Mar 11, 2013 at 5:59 PM, Brian Kardell <bkardell@gmail.com> wrote:

> Is it very difficult to provide "here is an attribute I'm watching + a
> callback"?  Most things require us to write switches and things and receive
> overly broad notifications which aren't great for performance or for code
> legibility IMO.
>
> Just curious.
>
>
>
> --
> Brian Kardell :: @briankardell :: hitchjs.com
>



-- 
Brian Kardell :: @briankardell :: hitchjs.com
Received on Tuesday, 12 March 2013 01:02:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:58 GMT