layout | LayoutDocument | The layout to draw. Update it immutably: changed objects are found by reference. |
seatStatesoptional | SeatStatesInput | Visual state per public seat ID. Seats not listed are available. |
selectedObjectIdsoptional | readonly string[] | Object IDs drawn with a selection outline. |
focusedObjectIdoptional | string | null | Object drawn with a keyboard focus ring and scrolled into view. |
modeoptional | RendererMode | |
themeoptional | Theme | |
panOnDragoptional | boolean | Edit mode only: make drags pan, like a hand tool. |
drawOnDragoptional | boolean | Edit mode only: make drags report onDrawStart/onDraw/onDrawEnd, for drawing tools. |
snapMoveoptional | (input: { readonly objectIds: readonly string[]; readonly delta: Point; readonly modifiers?: MoveModifiers; }) => Point | |
guidesoptional | readonly Guide[] | Alignment guide lines to draw, in layout coordinates. |
cursoroptional | string | null | Cursor override, for example crosshair while placing objects. |
resolveTargetoptional | (hitId: string) => string | null | Maps the object under the pointer to what a drag moves; null makes it not draggable. Default: the hit itself. |
marqueeOnAreasoptional | boolean | Edit mode: dragging on an unselected area box-selects instead of moving it. Default true. Default true |
focusScopeoptional | readonly string[] | null | Objects inside the entered scope; everything else is dimmed and not hittable. Null or absent: no scope. |
issueHighlightsoptional | readonly string[] | Objects outlined as having validation issues. |
vertexEditingIdoptional | string | null | Object whose outline shows vertex handles. |
rowHandlesIdoptional | string | null | Row that shows "+" handles to extend or shorten it. |
gridoptional | GridOptions | Edit-mode grid. Hidden by default. |
wheelModeoptional | WheelMode | What a plain mouse wheel does. Default "zoom". Default "zoom" |
seatVisibilityoptional | SeatVisibility | "hidden-below-scale" hides individual seats in the zoomed-out overview. Default "always". Default "always" |
seatHideScaleoptional | number | Scale below which seats are hidden with seatVisibility="hidden-below-scale". Default 0.5. Default 0.5 |
areaFillModeoptional | AreaFillMode | "solid" fills coloured sections and GA areas with their colour instead of a tint. Default "tint". Default "tint" |
zoneNotesoptional | ReadonlyMap<string, string> | View mode: a second line under each GA zone's name (its price), by inventory key. |
zoomLimitsoptional | Partial<ZoomLimits> | |
seatLabelMinScaleoptional | number | |
rowLabelMinScaleoptional | number | |
hitToleranceoptional | { readonly mouse?: number; readonly touch?: number; } | |
isHittableoptional | (obj: LayoutObject, mode: RendererMode) => boolean | |
initialViewportoptional | Viewport | |
classNameoptional | string | |
styleoptional | CSSProperties | |
containerPropsoptional | Omit<HTMLAttributes<HTMLDivElement>, "className" | "style" | "children"> | Extra attributes for the container element, such as aria-describedby. |
onObjectClickoptionalmethod | (event: ObjectClickEvent) => void | From RendererEvents |
onBackgroundClickoptionalmethod | (event: BackgroundClickEvent) => void | From RendererEvents |
onHoverChangeoptionalmethod | (objectId: string | null) => void | From RendererEvents |
onViewportChangeoptionalmethod | (viewport: Viewport) => void | From RendererEvents |
onMoveStartoptionalmethod | (event: { readonly objectIds: readonly string[]; }) => void | From RendererEvents |
onMoveoptionalmethod | (event: MoveEvent) => void | Fires during a drag, for live feedback such as alignment guides. Do not commit changes here. From RendererEvents |
onMoveEndoptionalmethod | (event: MoveEvent) => void | Fires once per drag gesture. Commit the move here, then call setLayout. From RendererEvents |
onTransformEndoptionalmethod | (event: TransformEndEvent) => void | From RendererEvents |
onGroupTransformoptionalmethod | (event: GroupTransformEvent) => void | Live group transform (once per frame at most). Do not commit here. From RendererEvents |
onGroupTransformEndoptionalmethod | (event: GroupTransformEvent) => void | Commit a group transform here. From RendererEvents |
onMarqueeSelectoptionalmethod | (event: MarqueeSelectEvent) => void | From RendererEvents |
onDrawStartoptionalmethod | (event: DrawEvent) => void | Drawing drags, while setDrawOnDrag(true) is on. onDrawEnd fires once, unless the drag is cancelled. From RendererEvents |
onDrawoptionalmethod | (event: DrawEvent) => void | From RendererEvents |
onDrawEndoptionalmethod | (event: DrawEvent) => void | From RendererEvents |
onDrawCanceloptionalmethod | () => void | A drawing drag was interrupted (for example by a second finger starting a pinch). From RendererEvents |
onPointerMoveoptionalmethod | (event: { readonly point: Point; readonly pointerType: PointerKind; }) => void | The mouse or pen moved with no button pressed. Point in layout coordinates. From RendererEvents |
onVertexDragoptionalmethod | (event: VertexDragEvent) => void | A vertex handle is being dragged (once per frame at most). From RendererEvents |
onVertexDragEndoptionalmethod | (event: VertexDragEvent) => void | From RendererEvents |
onVertexInsertoptionalmethod | (event: VertexInsertEvent) => void | A midpoint handle was clicked. From RendererEvents |
onVertexRemoveoptionalmethod | (event: VertexRemoveEvent) => void | Alt+click or double-click on a vertex handle. From RendererEvents |
onRowHandleDragoptionalmethod | (event: RowHandleDragEvent) => void | A row's "+" handle was dragged far enough to change its seat count. From RendererEvents |
onRowHandleDragEndoptionalmethod | (event: RowHandleDragEvent) => void | From RendererEvents |
onRowHandleCanceloptionalmethod | () => void | From RendererEvents |