Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7835 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Try this,

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


Thanks

Imagine profil
Abandonează

Works well in 12.0

Cel mai bun răspuns

works well on v15 too

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 21
3458
2
mai 20
10174
1
ian. 20
5395
0
mar. 19
3676
0
oct. 18
6543