[Vuejs]-Is this valid syntax for defining methods in Vue.js? 23 October 2023 by thecoderscamp.com 1👍 ✅ Yes, it’s just a short way to define a method in ECMAScript 2015 Method definitions [Vuejs]-Two functions in a button in vuejs Source:stackexchange.com