themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
8.02k stars 748 forks source link

More JS Options to Toasts #316

Open PadowYT2 opened 2 years ago

PadowYT2 commented 2 years ago

Is your feature request related to a problem? Please describe.

It would be cool if Flowbite had for example, show toast onclick, unlimited amount, doesn't need HTML - just JS & CSS

Describe the solution you'd like

Like Toastr.js or Fomantic UI Toasts has

Describe alternatives you've considered

No response

Additional context

No response

zoltanszogyenyi commented 2 years ago

Hello @PadowYT2,

Thanks for the feedback - I'll consider this in the next update.

zoltanszogyenyi commented 1 year ago

I'll create a new Toast class for this behaviour instead of using the Dismiss functionality which only support hiding.

PadowYT2 commented 1 year ago

Any news? v1.6.3 is out but no mentions of this

7amou3 commented 1 year ago

Hello, a toast need a show method, it's hidden by default. how can I show the toast with JS?

cadu0xcarbon commented 1 year ago

looking forward for this as well