EventTarget.RemoveEventListener
Contents
[
Hide
]RemoveEventListener(String, DOMEventHandler, bool)
This method allows the removal of event listeners from the event target. If an is removed from an while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
public void RemoveEventListener(String type, DOMEventHandler handler, bool useCapture)
Parameter | Type | Description |
---|---|---|
type | String | Specifies the event type of the being removed. |
handler | DOMEventHandler | The parameter indicates the to be removed. |
useCapture | Boolean | Specifies whether the EventListener being removed was registered as a capturing listener or not. If a listener was registered twice, one with capture and one without, each must be removed separately. Removal of a capturing listener does not affect a non-capturing version of the same listener, and vice versa. |
See Also
- delegate DOMEventHandler
- class EventTarget
- package com.aspose.html.Dom
- package Aspose.HTML
RemoveEventListener(String, IEventListener)
This method allows the removal of event listeners from the event target. If an is removed from an while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
public void RemoveEventListener(String type, IEventListener listener)
Parameter | Type | Description |
---|---|---|
type | String | Specifies the event type of the being removed. |
listener | IEventListener | The parameter indicates the to be removed. |
See Also
- interface IEventListener
- class EventTarget
- package com.aspose.html.Dom
- package Aspose.HTML
RemoveEventListener(String, IEventListener, bool)
This method allows the removal of event listeners from the event target. If an is removed from an while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
public void RemoveEventListener(String type, IEventListener listener, bool useCapture)
Parameter | Type | Description |
---|---|---|
type | String | Specifies the event type of the being removed. |
listener | IEventListener | The parameter indicates the to be removed. |
useCapture | Boolean | Specifies whether the EventListener being removed was registered as a capturing listener or not. If a listener was registered twice, one with capture and one without, each must be removed separately. Removal of a capturing listener does not affect a non-capturing version of the same listener, and vice versa. |
See Also
- interface IEventListener
- class EventTarget
- package com.aspose.html.Dom
- package Aspose.HTML