srcrip / live_toast

A beautiful drop-in replacement for the Phoenix Flash system.
https://toast.src.rip
MIT License
167 stars 13 forks source link

Overriding the default "client-error" and "server-error" hidden toasts #10

Open apiontek opened 2 months ago

apiontek commented 2 months ago

My project uses Bootstrap, so I would be overriding the toast components - and I see that is possible, which is great.

However, the module injects replacements for the default client-error and server-error elements, with default JS values for the phx-connected and phx-disconnected attributes. I would also need to override these. Am I missing a way to do that, or could that feature be put on the roadmap?

srcrip commented 1 month ago

We can definitely add that. Can you help my describing to me in what way you need to customize it? That will help a lot in determining what the API should be.