wireui
wireui copied to clipboard
Notification Animations
Is your feature request related to a problem? Please describe. I was using Vuetoastifications in a recent project and I loved how, by default, their notifications had some animations to it. I checked the documentation but I couldn't find anything relating to animations (If I've overlooked something I apologise) but I found it was quite nice and easy to add animations to that library. First time using wireui and I do really like it but I was wondering if there was a way we could add something where we can add animations to it? Couldn't find a default way to do it and I could probably do it with some hacky javascript maybe but personally I think it could be quite nice is there was an animation argument and we could put in like "bounce-right, fade" etc.
Describe the solution you'd like
Maybe just a way we can include animation int the javascript method of implementing the notification?
window.$wireui.notify({ title: 'Item saved!', description: 'Your item was successfully added.', icon: 'error', animation: 'slide-right' });
Or something like that? I haven't used the other ways of the notifications but I'm sure it'd be preferred to have animations for all
Describe alternatives you've considered The other way I've found to do it in JS seems a bit hacky but finding the notification container using queryselector or even jquery, manually creating the animations using css and then adding the class when the event gets trigger but there are probably quite a few issues doing it this way.
Additional context Add any other context or screenshots about the feature request here.
Great work on the package though! I'm really enjoying using it and learning it!