Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdzccs opened this issue Apr 11, 2021 · 8 comments

Comments

@sdzccs
Copy link

sdzccs commented Apr 11, 2021

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

@artshade
Copy link
Contributor

Sorry, but may I ask you rephrase the question?

@sdzccs
Copy link
Author

sdzccs commented Apr 13, 2021

onClosed: function () {} doesn't work

@sdzccs
Copy link
Author

sdzccs commented Apr 13, 2021

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

@artshade
Copy link
Contributor

artshade commented Apr 13, 2021

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
Copy link
Author

sdzccs commented Apr 15, 2021

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

@sdzccs
Copy link
Author

sdzccs commented Apr 15, 2021

http://jsbin.com

@sdzccs
Copy link
Author

sdzccs commented Apr 15, 2021

http://jsbin.com Website can be opened

@sdzccs
Copy link
Author

sdzccs commented Apr 15, 2021

Capture when the toast is click .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants