You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Vue, 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 (or b-form-radio) as its events has no _componentTag.
So my question is, how do you see the button which fired/origin of an event?
Ultimately, we want to do an action on all @change events, and the filter depending on the origin of the event.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In Vue, 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 (or b-form-radio) as its events has no _componentTag.
So my question is, how do you see the button which fired/origin of an event?
Ultimately, we want to do an action on all @change events, and the filter depending on the origin of the event.
Beta Was this translation helpful? Give feedback.
All reactions