Files
tabler/shared/components/modals/CaptureModal.astro
T

9 lines
330 B
Plaintext

---
// ui/modal.html — see Modal.astro for that). The captured markup is emitted
// verbatim at the {% modals %} slot (end of <body>) by PageModals.
// Registration is synchronous (a promise) — see src/lib/page-modals.ts.
import { addPageModal } from '@shared/lib/page-modals'
addPageModal(Astro.slots.render('default'))
---