'If I can change or set animation duration for Quasar notify plugin?
Becuase the default animation looks a little slowly in my scenario.
From the official documents, https://quasar.dev/quasar-plugins/notify, I only found timeout
parameter, and it means
Amount of time to display (in milliseconds)
That's not what I means, does anybody has similar requirements? Thank you for your any advice.
Solution 1:[1]
You can assign your own class to notification in config:
config: {
notify: {
...
classes: 'mynotification',
},
},
and then change transition property in css:
.mynotification {
transition: 0.4s ease all;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Emptyfortress |