Update sequential-entrance.vue

This commit is contained in:
syuilo 2020-02-12 03:31:46 +09:00
parent 083095ded6
commit 2a7d4ee866

View File

@ -59,13 +59,12 @@ export default Vue.extend({
if (document.hidden) { if (document.hidden) {
el.style.opacity = 1; el.style.opacity = 1;
el.style.transform = 'translateY(0px)'; el.style.transform = 'translateY(0px)';
return; } else {
}; setTimeout(() => { //
el.style.opacity = 1;
setTimeout(() => { // el.style.transform = 'translateY(0px)';
el.style.opacity = 1; });
el.style.transform = 'translateY(0px)'; }
});
}, },
leave(el) { leave(el) {
el.style.opacity = 0; el.style.opacity = 0;