Skip to Content
मेन्यू
This question has been flagged
2 Replies
7863 Views

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
Discard
Best Answer

Hi,

Try this,

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


Thanks

Avatar
Discard

Works well in 12.0

Best Answer

works well on v15 too

Avatar
Discard
Related Posts Replies Views Activity
1
मई 21
3468
2
मई 20
10184
1
जन॰ 20
5411
0
मार्च 19
3682
0
अक्तू॰ 18
6554