Skip to content
Snippets Groups Projects
Commit 0a3a0f3b authored by syuilo's avatar syuilo
Browse files

Update sequential-entrance.vue

parent e92e8374
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment