Optional
captureOptional
onceWhen true
, the listener is automatically removed when it is first invoked. Default: false
.
Optional
passiveWhen true
, serves as a hint that the listener will not call the Event
object's preventDefault()
method. Default: false.
Optional
signalThe listener will be removed when the given AbortSignal object's abort()
method is called.
Not directly used by Node.js. Added for API completeness. Default:
false
.