Skip to content

offAll

Unsubscribe listeners for all events.

Method Signature

ts
 offAll(entry?: string):void

Parameters

Parameter Type Description
entry string Optional parameter; specifies that all listeners whose names start with entry should be unsubscribed. If not specified, all listener subscriptions are removed.

Return Value

None