Added stash creation. Added dialog framework.
This commit is contained in:
@@ -61,8 +61,6 @@ onMounted(() => {
|
||||
events.on('scrollUp', () => { content.value.scrollTop = 0; });
|
||||
|
||||
events.on('feedback', async (event) => {
|
||||
console.log(event);
|
||||
|
||||
feedback.value = event;
|
||||
|
||||
await nextTick();
|
||||
@@ -87,7 +85,7 @@ onMounted(() => {
|
||||
opacity: 0,
|
||||
},
|
||||
], {
|
||||
duration: 3000,
|
||||
duration: event.type === 'error' ? 5000 : 3000,
|
||||
easing: 'ease-in-out',
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user