currApp method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.currApp(reference)
Gets a reference to the current app. Use the currApp method in an extension to get a reference to the app currently displayed.
Information noteIf no reference is passed, this method will always return the first open app.
Version history
Version state | Details |
---|---|
Introduced | 1.0 |
Updated | 1.1 |
Parameters
reference
Type: Object
Optional.
Reference to extension object.
Introduced in version 1.1.
Returns
An App JavaScript object with app methods.
Example
var app = qlik.currApp(this);
app.clearAll();