marcelodolza / iziToast

Elegant, responsive, flexible and lightweight notification plugin with no dependencies.
https://marcelodolza.github.io/iziToast/
Apache License 2.0
2.62k stars 306 forks source link

New feature: Vertical display #154

Closed noowa closed 4 years ago

noowa commented 6 years ago

Hi dolce,

First of all, congratulations for your work, it is really incredible and useful.

I was thinking about the possibility of having a vertical orientation option (eg: vertical: true, default false). I'm thinking about using the toast as a sort of navigation bar and place it in left or right of the page. The problem with the current toasts is that the icon, title, and close button appear horizontally. Even though I can "create" the navigation menu with HTML inside the toast message, the other internal items of the toast are not placed vertically (one on top of the other).

I don't know if there is already the possibility of configuring the toasts as described above.

Do you think it is possible to do something similar? If you need any additional information please let me know.

Regards

Harrmalik commented 5 years ago

Can you give an example of this?