mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Start work on dialog component * Add tests for dialog * Add readme * Add activator slot
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