Reference
Image Viewer
A lightbox: the picture over a dimmed page, with a small toolbar beneath it. Zoom is the reader's hand (half to three times, clamped), a quarter turn at a time rotates, Escape and the scrim close — the dialog machine carries the modal part. `open` may stay with the caller; left undefined the viewer keeps it to itself.
Backdrop · Content · Positioner · Root · Toolbar · Viewport
#ImageViewer
| Prop | Type | Default | Description |
|---|---|---|---|
src | String | — | |
alt | String | "" | — |
open | Boolean | undefined | — |
zoomable | Boolean | true | — |
| Event | Payload |
|---|---|
update:open | (_value: boolean) => true |