off - Methods - Annotations API

Annotations API Methods

off()

Removes the event handler for a bound callback.

Examples

itemsApp.assessApp().annotationsApp().off('texthighlight:remove', function () {
  // onTextHighlight callback
});

Arguments

  • eventName string

    The name of the event that the callback is bound to.

  • callback function

    The function that will be invoked whenever the specified event is triggered.

  • context object

    The context for which the callback should be invoked.

Return value

None (undefined).

Was this article helpful?

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