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

I think `<code>capture</code>` member is what is typically used.

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

Received on Wednesday, 16 December 2015 09:19:30 UTC