Closed Simcon closed 5 years ago
Is there a way I can hook into a 'connected' event after the dotnetify.vue.connect method?
dotnetify.vue.connect
var vue = new Vue({ el: '#App', data: { Id: '', }, created: function () { var qs = getQueryString(); var id = qs.id; this.vm = dotnetify.vue.connect("WorksheetVm", this, { vmArg: { Id: id } }); },
There's no specific event for that; I usually use the component's life cycle hook like Vue's beforeUpdate to get notification when new state is received.
beforeUpdate
Is there a way I can hook into a 'connected' event after the
dotnetify.vue.connect
method?