W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Mutation Observers: a replacement for DOM Mutation Events

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 23 Sep 2011 16:44:23 -0700
Message-ID: <CAAWBYDBruWdT=Zom-K5ETtQrV_W4qMJxvOn2pcK1h3R4Puz-tA@mail.gmail.com>
To: Adam Klein <adamk@chromium.org>
Cc: public-webapps@w3.org, Olli@pettay.fi, Ojan Vafai <ojan@chromium.org>, rafaelw@chromium.org, rniwa@chromium.org, Jonas Sicking <jonas@sicking.cc>, annevk@opera.com, arv@chromium.org
On Fri, Sep 23, 2011 at 2:16 PM, Adam Klein <adamk@chromium.org> wrote:
> [Constructor(in MutationCallback callback)]
> interface MutationObserver {
>   void observe(in Node target, in MutationObserverOptions options);
>   void disconnect();
> };

It would be nice to have both of these return the MutationObserver
rather than void, so you can chain calls.

~TJ
Received on Friday, 23 September 2011 23:45:18 GMT

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