friendly-captcha-sdk > WidgetHandle > removeEventListener
WidgetHandle.removeEventListener() method
Shorthand for this.getElement().removeEventListener
(that is strictly typed in Typescript)
Signature:
removeEventListener<K extends keyof FRCEventMap>(type: K, listener: (this: HTMLElement, ev: FRCEventMap[K]) => any | {
handleEvent: (ev: FRCEventMap[K]) => any;
}, options?: EventListenerOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
type | K | |
listener | (this: HTMLElement, ev: FRCEventMap[K]) => any | { handleEvent: (ev: FRCEventMap[K]) => any; } | |
options | EventListenerOptions | (Optional) |
Returns:
void