Skip to content

Conversation

@srcrip
Copy link
Owner

@srcrip srcrip commented Jan 5, 2025

The changes here are going to allow you to add a toast from the client side.

Note, that we are not actually constructing the element in javascript: it's merely a helper for sending a message to the live_toast LiveComponent to do the work server side. If someone has some need in the future to do it fully client side we could consider it.

Copy link

@itamm15 itamm15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thank you very much for that! Is there any chance of a short doc about this? 😄
We would like to trigger the Toast from the hook level :)

@RodolfoSilva
Copy link

@srcrip I've described my expected behavior in #44.

@srcrip srcrip mentioned this pull request Feb 25, 2025
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

Successfully merging this pull request may close these issues.

3 participants