Interface AddEventListenerOptions

Hierarchy

Properties

Properties

capture?: boolean

Not directly used by Node.js. Added for API completeness. Default: false.

once?: boolean

When true, the listener is automatically removed when it is first invoked. Default: false.

passive?: boolean

When true, serves as a hint that the listener will not call the Event object's preventDefault() method. Default: false.

Generated using TypeDoc