vue-promise-btn
vue-promise-btn copied to clipboard
Vuetify Support?
Does this library supports being uses with Vuetify <v-btn />
?
For example
<v-btn vue-promise-btn @click.stop="onAuthenticate" block color='primary'>Sign In</v-btn>
I could not get this to work, I believe, to make v-btn as loading state simply specify loading as true as follows
<v-btn loading />
@panteparak I haven't tried, but you can check the same way as described in Vue bootstrap example
<b-btn v-promise-btn="{ promise: bootstrapBtnPromise }" @click="vueBootstrap('Hello from vue bootstrap button!')">Extended with Vue Bootstrap</b-btn>
Where bootstrapBtnPromise
- data variable with Promise for async action.
You can try that example here: https://stukh.github.io/vue-promise-btn/
as far as i've tested, it does not work.