Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
7838 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 21
3458
2
мая 20
10175
1
янв. 20
5396
0
мар. 19
3676
0
окт. 18
6544