vue listen for event on slot code example
Example: vue slot events
Emit event in slot: this.$parent.$emit(...)
Listen in wrapper/parent: this.$on(...)
Emit event in slot: this.$parent.$emit(...)
Listen in wrapper/parent: this.$on(...)