Re: [dom] Add EventListenerOptions and passive event listeners (#82)

>   <dd>
>    Appends an <a>event listener</a> for <a>events</a> whose {{Event/type}} attribute value
>    is <var>type</var>. The <var>callback</var> argument sets the <b>callback</b> that will
> -  be invoked when the <a>event</a> is <a>dispatched</a>. When set to true,
> -  the <var>capture</var> argument prevents <b>callback</b> from being invoked when
> +  be invoked when the <a>event</a> is <a>dispatched</a>.
> +
> +  The <var>options</var> argument sets listener-specific options.  For compatibility this can be
> +  just a boolean, in which case it determines the value of the <b>capture</b> option.
> +
> +  When set to true,
> +  the <var>capture</var> option prevents <b>callback</b> from being invoked when

How about `the <b>capture</b> member of <var>options</var>`?  Or do you prefer simply `the capture option`?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/82/files#r47673674

Received on Tuesday, 15 December 2015 18:11:01 UTC