コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
7834 ビュー

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

アバター
破棄
最善の回答

Hi,

Try this,

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


Thanks

アバター
破棄

Works well in 12.0

最善の回答

works well on v15 too

アバター
破棄
関連投稿 返信 ビュー 活動
1
5月 21
3458
2
5月 20
10174
1
1月 20
5395
0
3月 19
3676
0
10月 18
6543