removeEventListener
Last updated
Last updated
You can unsubscribe to any of the ApiEvents you may have subscribed previously. If a previous callback
function used when adding the event listener is sent, it will disconnect that specific event, otherwise it disconnects all listeners created with eventName
eventName
callback (optional)
Example
Name of the event listener the method will remove.
(result:
) => void
Callback function which specifies the event you are unsubscribing to. If not used unsubscribes all listeners created with eventName