Elements

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

PropTypeDefaultDescription
srcString—
altString""—
openBooleanundefined—
zoomableBooleantrue—
EventPayload
update:open(_value: boolean) => true