Appends an event listener for a type of events.

<string> forms.removeEventListener(type :string, listener: (this: Element, ev:any) => any);

Parameters

Parameter Description
type A string which specifies the type of event for which to remove an event listener.
listener The event listener function of the event handler to remove from the event target.