I have a Vue component to display custom options of a node, and I have another Vue component to display custom options in the sidebar of the node. When the node is added to the graph, I would like the sidebar to be displayed automatically. So I emit the event openSidebar when mounting the custom options of the node:
mounted() {
this.$emit("openSidebar");
}
This displays the sidebar, but the sidebar is empty instead of showing the options from its Vue component. Am I doing anyting wrong?
I have a Vue component to display custom options of a node, and I have another Vue component to display custom options in the sidebar of the node. When the node is added to the graph, I would like the sidebar to be displayed automatically. So I emit the event
openSidebar
when mounting the custom options of the node:This displays the sidebar, but the sidebar is empty instead of showing the options from its Vue component. Am I doing anyting wrong?