SeatMap

Buyer SDK

The dependency-free Web Component owns rendering, accessibility controls, selection rules, synchronization, and error presentation inside Shadow DOM.

Attributes

AttributePurpose
event-idEvent occurrence identifier
api-base-urlHTTP API origin
api-keyOptional credential accepted by the SDK API
ws-urlOptional realtime URL override
max-selectionPositive selection limit
themelight, dark, high-contrast, or omitted for system preference

Events

seat-selected and seat-deselected carry a seat ID. selection-change carries all selected IDs. state-change reports lifecycle transitions, while error reports a code and message.

Methods and properties

Use selectedSeats and state for current read-only state. Use retry() and clearSelection() for explicit recovery and cleanup.