unregisterEventByUserId

Remove registered callback for a specific user id

Parameters

NameTypeDescription
userIdstringuser id to remove all callback

Example

When you register to an event, you can pass a custom id for grouping listener. For exemple you can write this:

Javascript
Copy

You can remove the 2 events using the user id "group1":

Javascript
Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches