Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3682 Widoki

Hi,

I want to call a super function after a query (I need the result before the parent call). Without wait the end of the query I can use "this._super.apply(this, arguments);" but here I want to call the parent function in the "then part":

Model.query(condition).then(function (datas) {

// call a parent function

});

Thanks

Awatar
Odrzuć