shakee93 / vue-toasted

🖖 Responsive Touch Compatible Toast plugin for VueJS 2+
https://shakee93.github.io/vue-toasted/
MIT License
2.21k stars 194 forks source link

Overwrite default animations #109

Closed andriy-f closed 4 years ago

andriy-f commented 5 years ago

Hi,

Is it possible to override animations with custom ones? Currently animations are set via style attribute and can't be overriden (like translateY(-35px);) by css classes. AFAIK you use anime.js. How to override animations?

What if I need to do slide from left?

shakee93 commented 5 years ago

the animations are made with anime.js. we would not be able to animate with css classes. but we can setup a way to override the animations.

take a look at the animations https://github.com/shakee93/vue-toasted/blob/master/src/js/animations.js

andriy-f commented 5 years ago

@shakee93 Thanks

muscle-rhnkyr commented 5 years ago

Or disable animation ?

shakee93 commented 4 years ago

PR welcome for this !

MokkaKowalewska commented 4 years ago

Hi Guys, have You achieved overriding default animations?