Modal and drawer dialog with backdrop, Escape key close, and footer slot.
<reke-dialog heading="Confirm" open>
<reke-button variant="ghost">Cancel</reke-button>
<reke-button variant="primary">OK</reke-button>
<reke-dialog heading="Settings" variant="drawer" position="right" open>
| Property | Type | Default | Description |
|---|
open | boolean | false | Open/close state |
heading | string | '' | Dialog title |
variant | 'modal' | 'drawer' | 'modal' | Display mode |
position | 'right' | 'left' | 'right' | Drawer position |
| Slot | Description |
|---|
| default | Dialog body content |
footer | Footer with action buttons |
| Event | Detail | Description |
|---|
reke-close | {} | Fired when dialog closes |
| Method | Description |
|---|
show() | Opens the dialog |
close() | Closes the dialog |