Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
7738 Vistas

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
Mejor respuesta

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

Mejor respuesta

works well on v15 too

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 21
3333
2
may 20
9973
1
ene 20
5230
0
mar 19
3558
0
oct 18
6364