javascript click on disabled button event code example
Example: @click event disabled source
<button @click="disable">Disable me</button>
...
methods: {
disable(e) {
e.srcElement.disabled = true;
}
},
<button @click="disable">Disable me</button>
...
methods: {
disable(e) {
e.srcElement.disabled = true;
}
},