Q:

How can i pass variable from one element to another by using VueJs?

How can i pass variable from one element to another by using VueJs ?
Vue Image

A:

You can do something like this
var v1, v2;

v1 = new Vue({
    // ...

    methods: [
        changeSomething: function(){
            v2.attribute = 'new value';
        }
    ];
});

v2 = new Vue({/*..*/});

v1.changeSomething();

Hope this helps.

