[Vuejs]-VueJs 2 emit custom event firing, but not being "heard"
0👍 ✅ code:https://codepen.io/anon/pen/EvmmKa?editors=0011 The object who emits the event should be the instace of child-secondary. Try to convey the instance to the nonVueComponent’s constructor. class nonVueComponent extends Vue { constructor(age,comp,…args){ super(args) console.log(‘new Blank Obj’) setTimeout(() => { console.log(‘customEvent event does fire, but nothing hears it. Probably because it isnt in the DOM?’, age) comp.$emit(‘customEvent’, `custom … Read more