I want to get the calling html element in vue.js to modify it via jQuery. For now I give every element the class name + the index and call it via jQuery afterwards, but this loo
You could get the element from the event like this:
new Vue({ el: "#app", methods: { testFunction : function(event) { $(event.target).doSomethingWithIt(); } } });
And then:
Test
Or (if you want to pass another parameter):
[demo]