off method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

global.off(eventName)

Removes listeners for the global events.

Version history

Introduced Qlik Sense February 2018

Parameters

Name Type Description
eventName String

Name of the event. Can be:

  • error
  • warning
  • closed

Removes all listeners if no eventName is provided.

Example

var global = qlik.getGlobal(config);
global.on("error", function ( error ) {
  console.log("error listener called for global", error);
} );
global.off("error");

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?