vuejs capture event from 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(...)