Feature/add cofirmation dialogs (#513)

* add category/tag confirmation dialog

* add page delete confirmation

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-06-13 14:53:57 -08:00
committed by GitHub
parent af41b08a60
commit 30892dcb2f
5 changed files with 33 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
<script>
export default {
name: "theButton",
name: "TheButton",
props: {
// Types
cancel: {

View File

@@ -5,9 +5,10 @@
:style="{ zIndex: zIndex }"
@click:outside="cancel"
@keydown.esc="cancel"
@keydown.enter="confirm"
>
<template v-slot:activator="{}">
<slot v-bind="{ open }"> </slot>
<slot v-bind="{ open }"> </slot>
</template>
<v-card>
<v-app-bar v-if="Boolean(title)" :color="color" dense dark>