removeEventListener method
Unregisters a previously registered event listener of the given type.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
![]() |
Syntax
*object.*removeEventListener(eventType, callback)
Parameters
eventType [in]
Type: DOMStringcallback [in]
Type: Function
Return value
This method does not return a value.
Remarks
The callback must be the same as the one used in registration. This means the function must be named, not inlined.