Is there a way to listen to a node selection change?

Thank you for your input.

I was actually thinking of using a custom event to indicate when the property panel needs to be redrawn.

My UI looks a bit like this:

|---------------------------------------------------|
|0. Toolbar                                         |
|---------------------------------------------------|
|1. Editor Panel              |2. Properties.       |
|                             |                     |
|                             |                     |
|-----------------------------|---------------------|

0, 1 and 2 are all Vue3 components that are rooted in a container Vue3 application shell. Following your line of thought of using a plugin; would it be possible for that plugin to emit a custom DOM event when redraw is required? The application shell would then listen for that event and delegate it to observers.

O, 1 and 2 are sibling components - and I don’t want to add any additional state mgmt library for event distribution.

Thanks.