Skip to Content
Menú
This question has been flagged
2 Respostes
7837 Vistes

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

Hi,

Try this,

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


Thanks

Avatar
Descartar

Works well in 12.0

Best Answer

works well on v15 too

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 21
3458
2
de maig 20
10175
1
de gen. 20
5396
0
de març 19
3676
0
d’oct. 18
6543