Skip to content
Snippets Groups Projects
Commit 2a7d4ee8 authored by syuilo's avatar syuilo
Browse files

Update sequential-entrance.vue

parent 083095de
No related branches found
No related tags found
No related merge requests found
......@@ -59,13 +59,12 @@ export default Vue.extend({
if (document.hidden) {
el.style.opacity = 1;
el.style.transform = 'translateY(0px)';
return;
};
setTimeout(() => { // 必要
el.style.opacity = 1;
el.style.transform = 'translateY(0px)';
});
} else {
setTimeout(() => { // 必要
el.style.opacity = 1;
el.style.transform = 'translateY(0px)';
});
}
},
leave(el) {
el.style.opacity = 0;
......
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