Auto close modal widget after 5 seconds
-
12-05-2021 - |
質問
I created a modal widget that appears after adding product to cart, it works perfectly .
Now I need to close the modal after 5 seconds.
please help!
正しい解決策はありません
他のヒント
Try this :-
setTimeout(function(){
$(dialog).close();
},
5000);
所属していません magento.stackexchange