[Vuejs]-Rewrite jQuery Disbale button using javascript in a vue app

1👍

Typically, you wouldn’t manipulate DOM elements but rather your vue component’s state and then bind that state to the DOM.

You’ll want to

Here’s a working example: https://codesandbox.io/s/stack-overflow-q-59026962-onb7j.
I left out the spinner toggle & removed some markup for clarity.

Leave a comment