Interface DomEventListenerOptions

Event listener options for DOM events.

Note: signal not supported, use abort utilities.

interface DomEventListenerOptions {
    once?: boolean;
}

Hierarchy (view full)

  • SignalOptions
  • Omit<AddEventListenerOptions, "signal">
    • DomEventListenerOptions

Properties

Properties

once?: boolean

If true, removes the handler after the first invocation.