|
|
|
@ -78,6 +78,9 @@ export default {
|
|
|
|
|
if(has(this.$listeners, 'sharedCrosshairMove')) { |
|
|
|
|
this.options.eventsCallbacks.sharedCrosshairMove = this.sharedCrosshairMove.bind(this); |
|
|
|
|
} |
|
|
|
|
if(has(this.$listeners, 'renderStart')) { |
|
|
|
|
this.options.eventsCallbacks.renderStart = this.renderStart.bind(this); |
|
|
|
|
} |
|
|
|
|
if(has(this.$listeners, 'renderEnd')) { |
|
|
|
|
this.options.eventsCallbacks.renderEnd = this.renderEnd.bind(this); |
|
|
|
|
} |
|
|
|
@ -109,6 +112,9 @@ export default {
|
|
|
|
|
sharedCrosshairMove(event) { |
|
|
|
|
this.$emit('sharedCrosshairMove', event); |
|
|
|
|
}, |
|
|
|
|
renderStart() { |
|
|
|
|
this.$emit('renderStart'); |
|
|
|
|
}, |
|
|
|
|
renderEnd() { |
|
|
|
|
this.$emit('renderEnd'); |
|
|
|
|
}, |
|
|
|
|