currApp method
Note: STABLE.
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.
Note: If no reference is passed, this method will always return the first open app.
Version history
Introduced | 1.0 |
Updated | 1.1 |
Parameters
Name | Type | Description |
---|---|---|
reference | 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();