I have a set of dynamic children:
Parent child1 child2 ... childn
I want to capture the onclick event on a child, and make a couple dom changes (expand a div, change icon), then ensure the other children have the opposite changes (ie, the div is collapsed and the icon is the closed icon).
What is the best vue-style way of accomplishing this?
I know how to emit events from the children up to the parent, and how to attach properties to the children, just not sure how to use those to accomplish the task.