Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
7733 Visualizações

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
Cancelar
Melhor resposta

Hi,

Try this,

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


Thanks

Avatar
Cancelar

Works well in 12.0

Melhor resposta

works well on v15 too

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 21
3333
2
mai. 20
9968
1
jan. 20
5228
0
mar. 19
3554
0
out. 18
6360