Skip to main content

off method

ON THIS PAGE

off method

Note: STABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.off(eventName)

Removes listeners for the app events.

Version history

Introduced Qlik Sense February 2018

Parameters

eventName

Type: String

Name of the event. Can be:

  • error
  • warning
  • closed

Removes all listeners if no eventName is provided.

Example

var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d', config);
app.on("error", function ( error ) {
  console.log("error listener called for app", error);
} );
app.off("error");