iziToast icon indicating copy to clipboard operation
iziToast copied to clipboard

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

Open sdzccs opened this issue 3 years ago • 8 comments

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

sdzccs avatar Apr 11 '21 00:04 sdzccs

Sorry, but may I ask you rephrase the question?

artshade avatar Apr 11 '21 01:04 artshade

onClosed: function () {} doesn't work

sdzccs avatar Apr 13 '21 12:04 sdzccs

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

sdzccs avatar Apr 13 '21 12:04 sdzccs

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?

artshade avatar Apr 13 '21 15:04 artshade

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

sdzccs avatar Apr 15 '21 01:04 sdzccs

http://jsbin.com

sdzccs avatar Apr 15 '21 01:04 sdzccs

http://jsbin.com Website can be opened

sdzccs avatar Apr 15 '21 01:04 sdzccs

Capture when the toast is click .

sdzccs avatar Apr 15 '21 06:04 sdzccs