0👍
This is part of how the context this
works in JS. You need to set it with bind
, call
or apply
:
this.$options.customMethod.start.call(this)
- [Vuejs]-Vue components not showing in a different blade
- [Vuejs]-Pass v-model value from one component to template
Source:stackexchange.com