vue-promise-btn icon indicating copy to clipboard operation
vue-promise-btn copied to clipboard

Vuetify Support?

Open panteparak opened this issue 3 years ago • 2 comments

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 avatar Oct 09 '21 18:10 panteparak

@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/

STUkh avatar Oct 09 '21 19:10 STUkh

as far as i've tested, it does not work.

panteparak avatar Oct 13 '21 12:10 panteparak