mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add close button to toasts
This commit is contained in:
parent
2de30f10de
commit
f4076e6813
@ -40,8 +40,14 @@ export default {
|
||||
Vue.use(Loading)
|
||||
Vue.use(Toasted, {
|
||||
position: 'top-center',
|
||||
duration: 2500,
|
||||
duration: 5000,
|
||||
fullWidth: true,
|
||||
action: {
|
||||
text: 'x',
|
||||
onClick: (e, toastObject) => {
|
||||
toastObject.goAway(0)
|
||||
},
|
||||
},
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user