Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3665 Zobrazení

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

Avatar
Zrušit