Move state logic from using classes to container
Instead of relying on the toggling of "hidden" class, we now use `data-is-expanded` on the container class to check for `isExpanded`. This should make the code less error-prone and more Vue-like.
Showing
Please register or sign in to comment