I'm using vue-toasted to show notifaction.
By default, it pops down to top.
Code:
<v-btn @click="onTest" />
...
onTest() {
this.$toast.info('Test!', {
containerClass: 'toasted-container',
className: 'toasted',
keepOnHover: true,
})
},
nuxt.config.js:
toast: {
duration: 3800,
action: {
icon: 'mdi-close-circle',
onClick: (e, toastObject) => {
toastObject.goAway(0)
},
},
iconPack: 'mdi',
icon: 'mdi-check-circle',
},
The toast pops down to top.
I tried to add some css like transition
.
I'm not familiar with CSS, so I guess it's wrong.
How can I change it to right to left? I couldn't find any info on their GitHub.
I added some
@keyframes
andanimation
, it worked.