jeudi 5 août 2021

How do you find the origin of an event?

In Vue3, I am trying to see the source of my event. We are using Bootstrap-vue, and so far we have managed to see if an event comes from an input field with event.target.__vue__.$parent.$options._componentTag.

However, this is not possible with a <b-form-radio-group> as it has no _componentTag.

So my question is, how do you see the button which fired/origin of an event?




Aucun commentaire:

Enregistrer un commentaire