removeEventListener(eventName: string, callback: EventListenerOrEventListenerObject, capture: boolean): void
Remove an event listener from the document.
Parameters
eventName: string
A string representing the event type to listen for.
callback: EventListenerOrEventListenerObject
The function or listener object to remove from the event.
capture: boolean
Specifies whether the listener to be removed was registered as a capturing listener or not.