Removes an event listener previously set by AddEventListener.
CSS3 Selector used to bind the event.
If you are unfamiliar with CSS3 Selectors have a look in Finding the correct CSS3 Selector article.
Event name used to bind the event.
The Visual Basic public module function passed using the AddressOf operator that was used to bind the event.
The capture flag that was used to bind the event.
Removes an event listener previously set by AddEventListener.
Visual Basic |
---|
Public Sub RemoveEventListener( _ ByVal Selector As String, _ ByVal Event As String, _ ByVal AddressOfEventHandler As Long, _ ByVal UseCapture As Boolean _ ) |
CSS3 Selector used to bind the event.
If you are unfamiliar with CSS3 Selectors have a look in Finding the correct CSS3 Selector article.
Event name used to bind the event.
The Visual Basic public module function passed using the AddressOf operator that was used to bind the event.
The capture flag that was used to bind the event.
To remove an event listener you must provide the exact same argument you used in AddEventListener.
Event listeners are automatically cleared when a new page is loaded.