W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2015

Re: [whatwg] DOM Events Proposal: EventListenerOptions 'mayCancel' for improved scroll performance

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 09 Jul 2015 14:05:48 -0400
Message-ID: <559EB7FC.2020408@mit.edu>
To: Rick Byers <rbyers@chromium.org>
Cc: whatwg@lists.whatwg.org
On 7/9/15 1:32 PM, Rick Byers wrote:
> Done.  How does example 2 look now?
> http://rbyers.github.io/EventListenerOptions/EventListenerOptions.html#example_2

Looks like it would work.  Also looks kind of ugly because of the 
object-truthiness bit, but I'm not sure there's any way to avoid that 
while keeping the "overload a boolean and dictionary" setup.

Received on Thursday, 9 July 2015 18:06:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:34 UTC