Auto close modal widget after 5 seconds
-
12-05-2021 - |
Pergunta
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!
Nenhuma solução correta
Outras dicas
Try this :-
setTimeout(function(){
$(dialog).close();
},
5000);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange