Answer the question
In order to leave comments, you need to log in
Trying to make a custom event, what's wrong?
There is an element on the page on which an attempt was made to hang an event on click and passing a parameter:
<div @click="$root.$emit('item-selected', [item, version])"></div>
this.$root.$on('item-selected', function (data) {
console.log(data);
Loader.Finish();
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question