[Vuejs]-Emit click in other class in Vue js

0👍

Hah, that was pretty easy

I assigned class to variable

var header = new Vue({...})

and then in the second class just call header.displayModal()

Leave a comment