Callback when message with delay is clicked
aldebaran798 opened this issue · 2 comments
aldebaran798 commented
Hi! congratulations for your project.
Is possible call a function when a message is clicked, but not fire the function when delay option auto-hide the message?
andrepolischuk commented
Currently you can attach callback for close message without buttons:
messg('Hello').hide(() => {
// ...
})
or attach callbacks for click on buttons:
messg('Hello').button('Ok', () => {
// ...
})
aldebaran798 commented
Thank you!