mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Update sequential-entrance.vue
This commit is contained in:
parent
466e5e26ca
commit
38e30d1708
@ -65,11 +65,9 @@ export default Vue.extend({
|
||||
this.index++;
|
||||
},
|
||||
leave(el, done) {
|
||||
setTimeout(() => {
|
||||
el.style.opacity = 0;
|
||||
el.style.transform = this.direction === 'down' ? 'translateY(64px)' : 'translateY(-64px)';
|
||||
setTimeout(done, 700);
|
||||
}, this.delay * el.dataset.index)
|
||||
el.style.opacity = 0;
|
||||
el.style.transform = this.direction === 'down' ? 'translateY(64px)' : 'translateY(-64px)';
|
||||
setTimeout(done, 700);
|
||||
},
|
||||
focus() {
|
||||
this.$slots.default[0].elm.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user