Collapse() has effects???

.collapse() does not have animations, but you can do one of the following:

  1. $w(“#element”).hide(effect).then(() => $w(“#element”).collapse());

  2. wixAnimation then .collapse()