- From: Rick Byers <notifications@github.com>
- Date: Mon, 04 Jan 2016 10:42:21 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 4 January 2016 18:42:48 UTC
> method, when invoked, must run these steps:
>
> <ol>
> <li><p>If <var>callback</var> is null, terminate these steps.
>
> + <li>Let <var>capture</var> and <var>passive</var> be false.
> +
> + <li>If <var>options</var> is a boolean, set <var>capture</var> to
> + <var>options</var>.
> +
> + <li>If <var>options</var> is a dictionary and <code>{{EventListenerOptions/capture}}</code> is
> + present in <var>options</var> with value true, then set <var>capture</var> to true.
> +
> + <li>If <var>options</var> is a dictionary and <code>{{EventListenerOptions/passive}}</code> is
> + present in <var>options</var> with value true, then set <var>passive</var> to true.
Thanks. Sure "flatten" sounds better to me - done.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/82/files#r48763515
Received on Monday, 4 January 2016 18:42:48 UTC