1 | |
2 | |
3 | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
A dialog over a dimmed backdrop, inside a Turbo frame. Wrap any content as the body; an optional header (a title or Tabs, plus Close) and footer (actions plus Dismiss) sit above and below. Closes on Escape, a backdrop click, a successful submit, or a Close/Dismiss link.
| Prop | Type | Default |
|---|---|---|
size
One of SIZES — modal width. Only "medium" (480px) for now; the param is the seam for future widths.
|
String | "medium" |
**html_options
Extra HTML attributes for the `.modal` element.
|
Hash | — |
Slots: footer header