Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuetify Support? #19

Open
panteparak opened this issue Oct 9, 2021 · 2 comments
Open

Vuetify Support? #19

panteparak opened this issue Oct 9, 2021 · 2 comments

Comments

@panteparak
Copy link

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

@STUkh
Copy link
Owner

STUkh commented Oct 9, 2021

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

@panteparak
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants