off method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
global.off(eventName)
Removes listeners for the global events.
Version history
Version state | Details |
---|---|
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 global = qlik.getGlobal(config);
global.on("error", function ( error ) {
console.log("error listener called for global", error);
} );
global.off("error");