Home > assistive-playwright-client > ScreenReaderClient > off
Unregisters a listener for the given event.
Signature:
off(event: string, listener: (...args: any[]) => void): this;
Parameter | Type | Description |
---|---|---|
event | string | event name |
listener | (…args: any[]) => void | previously registered listener |
Returns:
this