On Vue 2.3 and above you can do this:
<div v-on:click="firstFunction(); secondFunction();"></div>
// or
<div @click="firstFunction(); secondFunction();"></div>
More Related Contents:
- Use arrow function in vue computed does not work
- How to add external JS scripts to VueJS Components?
- How to use .env variables in Nuxt 2 or 3?
- Vue 2 – Mutating props vue-warn
- VueJS: why is “this” undefined?
- Make VueJS and jQuery play nice
- How to reference static assets within vue javascript
- Can you force Vue.js to reload/re-render?
- VueJs 2.0 emit event from grand child to his grand parent component
- Can I pass parameters in computed properties in Vue.Js
- Why not always use the index as the key in a vue.js for loop?
- Vue – Deep watching an array of objects and calculating the change?
- Static image src in Vue.js template
- importing a package in ES6: “Failed to resolve module specifier “vue””
- How to call function on child component on parent events
- forEach is not a function error with JavaScript array
- Vuejs typescript this.$refs..value does not exist
- Vue converts input[type=number] to a string value
- Parentheses while calling a method in Vue
- forEach loop through two arrays at the same time in javascript
- Vue template or render function not defined yet I am using neither?
- Global data with VueJs 2
- How to use dynamic tailwind classes with JS switch statement and pass them correctly in Vue?
- multiple pages in Vue.js CLI
- Vue components communication
- How to display async data in vue template
- How to disable ESLint in vue-cli?
- Vue.js unknown custom element
- Axios request giving getter setter methods instead of data queried
- What’s the correct way to pass props as initial data in Vue.js 2?