Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
7847 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
3462
2
mai. 20
10180
1
jan. 20
5405
0
mar. 19
3681
0
out. 18
6546