我有一個接受某些用戶輸入的模式。如果用戶得到正確的答案,他/她應該能夠看到調光器後面的動畫。我曾嘗試Semamtic UI:禁用與模式相關的調光器
$('.basic.modal')
.modal('setting',{
closable : true,
onDeny : function(){},
onApprove : function(){}
})
.modal('hide others')
.modal('show')
.modal('hide dimmer');
和
$('.basic.modal')
.modal('setting',{
closable : true,
onDeny : function(){},
onApprove : function(){}
})
.modal('hide others')
.modal('hide dimmer')
.modal('show');
但是都沒有成功。我該怎麼辦?
這似乎是一個黑客。但是,爲了加入黑客攻擊,您還可以添加'pointer-events:none;' – Isaac 2016-10-02 21:00:34