End (rechts, MD 480)
Kopf und Aktionsleiste fixiert, getönter Inhalt scrollt.
Overlays
Panel for creating and editing without leaving the page. End (right, default; md 480, lg 640 px), start (left, 360 px, e.g. filters) or bottom (sheet with grip). Header and footer stay fixed, the tinted body scrolls. Full screen on phones (bottom stays a sheet). Opens like tc_dialog via data-tc-dialog-open="<id>" and loads its body with get/get_url on every open.
Kopf und Aktionsleiste fixiert, getönter Inhalt scrollt.
End, Start (Filter, 360) und Bottom (Sheet mit Griff) über data-tc-dialog-open; auf dem Handy Vollbild.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
title | '' | – | Heading; also the accessible name of the dialog. |
subtitle | '' | – | Meta line below the title (monospace), e.g. a host name or date. |
dismissible | True | – | Close via close button, Escape and backdrop click. False forces a decision through the footer buttons. |
header | True | – | Show the header; without it the title only labels the dialog. |
open | False | – | Open on page load; the attribute reflects the open state. |
reload | True | – | With get/get_url: reload the body on every open; False loads it once. |
close_label | '' | – | Accessible name of the close button (default "Close"). |
inline | False | – | Render open in the page flow instead of as a modal (documentation, previews). |
placement | 'end' | Edge the panel slides in from. | |
size | 'md' | Width of end drawers: md 480, lg 640 px. | |
{% slot footer %} | – | Slot | Benannter Inhaltsbereich. |
{% slot meta %} | – | Slot | Benannter Inhaltsbereich. |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.