mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-03 02:33:31 -05:00
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:
@@ -22,7 +22,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "theButton",
|
||||
name: "TheButton",
|
||||
props: {
|
||||
// Types
|
||||
cancel: {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user