Adds event-related methods to the control.
Adds an event listener to the control.
The type (name) of the event.
The listener to invoke when the event gets raised.
true to initiate capture; otherwise, false.
Raises an event of the specified type, adding the specified additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Removes an event listener from the control.
The type (name) of the event.
The listener to remove.
true to initiate capture; otherwise, false.
Adds the set of declaratively specified options (properties and events) to the specified control. If the name of the options property begins with "on", the property value is a function and the control supports addEventListener. This method calls the addEventListener method on the control.
The control on which the properties and events are to be applied.
The set of options that are specified declaratively.