EventTarget.addEventListener

Undocumented in source. Be warned that the author may not have intended to support it.
  1. void addEventListener(string type, Optional!(T1) listener, SumType!(AddEventListenerOptions, bool) options, Optional!(T3) wantsUntrusted)
  2. void addEventListener(string type, Optional!(T1) listener, SumType!(AddEventListenerOptions, bool) options)
    struct EventTarget
    nothrow
    void
    addEventListener
    (
    T1
    )
    (
    string type
    ,
    scope auto ref Optional!(T1) listener
    ,
    scope ref SumType!(AddEventListenerOptions, bool) options
    )
  3. void addEventListener(string type, Optional!(T1) listener)

Meta