This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Questions API


Removes a previously-bound callback function for an event.

When called with no arguments, all event listeners are removed.


//Removes event listeners for the 'changed' event.
//Removes event listeners for all events.


  • eventName string
    Name of the event that you want to stop listening to.
  • eventCallback callback
    If no callback is provided, all event handlers for the eventName will be removed.
  • context object
    Execution context that will be used for this when the callback function is triggered. If no context is provided, all event bindings for the eventName, eventCallback combination will be removed.

Return value

None (undefined).

Was this article helpful?