Skip to Content
Menu
This question has been flagged
2 Replies
7887 Zobrazenia

Hi everyone,

I'm making a module that downloads a file , It has a button click method , then the spinner should be shown , then the methode calls an rpc call , when the  rpc call returns I need to close the spinner.I have tried appending spinner on different elements , but ended up having small spinners on corners or elements.

Please help me

Avatar
Zrušiť
Best Answer

Hi,

Try this,

var framework = require('web.framework');
//To add spinner
framework.blockUI();
//To remove spinner
framework.unblockUI();


Thanks

Avatar
Zrušiť

Works well in 12.0

Best Answer

works well on v15 too

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
máj 21
3549
2
máj 20
10229
1
jan 20
5443
0
mar 19
3714
0
okt 18
6588