-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VBtn): add new styling property plain (#12814)
resolves #3026 Co-authored-by: John Leider <john.j.leider@gmail.com>
- Loading branch information
1 parent
53cc6de
commit bae707c
Showing
13 changed files
with
255 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<template> | ||
<div class="text-center"> | ||
<v-sheet | ||
class="px-7 pt-7 pb-4 mx-auto text-center d-inline-block" | ||
color="blue-grey darken-3" | ||
dark | ||
> | ||
<div class="grey--text text--lighten-1 text-body-2 mb-4"> | ||
Are you sure you want to delete this album? | ||
</div> | ||
|
||
<v-btn | ||
:disabled="loading" | ||
class="ma-1" | ||
color="grey" | ||
plain | ||
> | ||
Cancel | ||
</v-btn> | ||
|
||
<v-btn | ||
:loading="loading" | ||
class="ma-1" | ||
color="error" | ||
plain | ||
@click="remove" | ||
> | ||
Delete | ||
</v-btn> | ||
</v-sheet> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data: () => ({ loading: false }), | ||
methods: { | ||
async remove () { | ||
this.loading = true | ||
await new Promise(resolve => setTimeout(resolve, 3000)) | ||
this.loading = false | ||
}, | ||
}, | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.