Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
7842 Tampilan

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
Buang
Jawaban Terbai

Hi,

Try this,

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


Thanks

Avatar
Buang

Works well in 12.0

Jawaban Terbai

works well on v15 too

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 21
3460
2
Mei 20
10177
1
Jan 20
5400
0
Mar 19
3678
0
Okt 18
6544