.collapse() does not have animations, but you can do one of the following:
-
$w(“#element”).hide(effect).then(() => $w(“#element”).collapse());
-
wixAnimation then .collapse()
.collapse() does not have animations, but you can do one of the following:
$w(“#element”).hide(effect).then(() => $w(“#element”).collapse());
wixAnimation then .collapse()