accordion animation
parent
ec6f74299b
commit
2837a974f0
|
@ -198,7 +198,7 @@
|
|||
// Set the keyframes from the startHeight to endHeight
|
||||
height: [startHeight, endHeight]
|
||||
}, {
|
||||
duration: 300,
|
||||
duration: 200,
|
||||
easing: 'linear'
|
||||
});
|
||||
// When the animation is complete, call onAnimationFinish()
|
||||
|
@ -223,7 +223,6 @@
|
|||
document.querySelectorAll('details').forEach((el) => {
|
||||
new Accordion(el);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{% schema %}
|
||||
|
|
Loading…
Reference in New Issue