currApp method
qlik.currApp()
Method used to get a reference to the current app. Use this method in an extension to get a reference to the app currently displayed.
Returns
App JavaScript object with app methods.
Example
var app = qlik.currApp();
app.clearAll();