off - Methods - Question Editor API

Question Editor API Methods


Removes a previously-bound callback function for an event.

When called with no parameters, callbacks for all events are removed.

Examples"preview:changed"); //Removes callbacks for the 'preview:changed' event.; //Removes callbacks for all events.


  • event_name string

    Name of the event that you want to stop listening to.

  • event_callback function

    If no callback is provided, all callbacks for the event_name will be removed.

  • context object

    If no context is provided, all callbacks for the event_name, event_callback combination will be removed.

Return value

None (undefined).

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.