marcelodolza / iziToast

Elegant, responsive, flexible and lightweight notification plugin with no dependencies.
https://marcelodolza.github.io/iziToast/
Apache License 2.0
2.62k stars 306 forks source link

When you click close, you can perform an operation. When you close automatically, do not perform the previous operation #201

Open sdzccs opened 3 years ago

sdzccs commented 3 years ago

When you click close, you can perform an operation. When you close automatically, do not perform the previous operation

serious-angel commented 3 years ago

Sorry, but may I ask you rephrase the question?

sdzccs commented 3 years ago

onClosed: function () {} doesn't work

sdzccs commented 3 years ago

When you click, the related A code will be executed. When you close, the A code will also be executed. Can you not execute the A code when you close, and execute the related A code only when you click

serious-angel commented 3 years ago

onClosed: function () {} doesn't work When you click, the related A code will be executed. When you close, the A code will also be executed. Can you not execute the A code when you close, and execute the related A code only when you click

May I ask you for a normal code example? For example, using https://jsfiddle.net/ or similar?

sdzccs commented 3 years ago

http://jsfiddle.net/ or similar? Website cannot be opened

sdzccs commented 3 years ago

http://jsbin.com

sdzccs commented 3 years ago

http://jsbin.com Website can be opened

sdzccs commented 3 years ago

Capture when the toast is click .