I am trying to listen for an event in Chrome DevTools Vue, but I'm not sure how to target it. For a Root event, I typically use:
this.$root.$on("note_id", (note_id) => (this.note_id = note_id));
But how do I address an event that originates from a specific component? For example, I want to respond to the hide
event:
https://i.sstatic.net/AbNV6.png
Building on the $root
example above, I would like to do something like:
this.<here I do not know what to use>.$on("hide", () => this.someVariable = true);