AddEventListenerOptions Class
https://dom.spec.whatwg.org/#dictdef-addeventlisteneroptions
public sealed class AddEventListenerOptions : EventListenerOptions- Inheritance
EventListenerOptionsAddEventListenerOptions
Constructors
| Name | Description |
|---|---|
| AddEventListenerOptions() |
AddEventListenerOptions()
public AddEventListenerOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Once | Gets a value indicating whether the listener is removed after it is invoked once. |
| Passive | Gets a value indicating whether the listener never calls preventDefault(), or null to use the default. |
| Signal | Gets the signal that removes the listener when it is aborted. |
Once
EventTarget.csGets a value indicating whether the listener is removed after it is invoked once.
public bool Once { get; init; }Passive
EventTarget.csGets a value indicating whether the listener never calls preventDefault(), or null to use the default.
public bool? Passive { get; init; }Signal
EventTarget.csGets the signal that removes the listener when it is aborted.
public AbortSignal? Signal { get; init; }