I\'m using VueJS to make a simple enough resource management game/interface. At the minute I\'m looking to activate the roll function every 12.5 seconds and use
roll
You can use vm.methodName();
vm.methodName();
Example:
let vm = new Vue({ el: '#app', data: {}, methods: { methodA: function () { console.log('hello'); }, methodB: function () { // calling methodA vm.methodA(); } }, })