Files
directus/src/components/v-dialog
Rijk van Zanten c8e9e02af0 Add v-dialog component (#175)
* Start work on dialog component

* Add tests for dialog

* Add readme

* Add activator slot
2020-03-13 14:59:43 -04:00
..
2020-03-13 14:59:43 -04:00
2020-03-13 14:59:43 -04:00
2020-03-13 14:59:43 -04:00
2020-03-13 14:59:43 -04:00

Dialog

Renders an overlay with a flex slot rendering whatever content you pass

Usage

<v-dialog>
    <v-sheet>
        <h2>Are you sure you want to delete this item?</h2>
        <v-button>No</v-button>
        <v-button>Yes</v-button>
    </v-sheet>
</v-dialog>

Props

Prop Description Default
persistent Disable clicking on the overlay --

Slots

Slot Description Data
default --

Events

Events Description Value
toggle Change the active state boolean

CSS Variables

n/a