test
parent
15ca90af62
commit
78caab93d2
|
@ -63,14 +63,17 @@
|
|||
videoElement.style.height = '0px';
|
||||
|
||||
//animejs fade in
|
||||
setTimeout(() => {
|
||||
//dom ready
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
anime({
|
||||
targets: videoElement,
|
||||
height: '400px',
|
||||
duration: 500,
|
||||
easing: 'cubicBezier(0.590, 0.190, 0.050, 0.990)'
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
console.log('open animation');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue