mode
Type: string
Default: 'normal'
This parameter supports the following values:
normal
: the default setting. Objects are selectable, and zooming and panning are enabledstatic
: objects are not selectable, but zooming and panning is enabledprint
: objects are not selectable and zooming and panning is disabledspotlight
: shows selected objects while dimming all others. Navigation controls are enabled but interaction is disabled.
Spotlight mode
You can use this mode to highlight any seats on the chart, including already booked ones, by marking them as selected. Other objects will be greyed out and their popovers will not be displayed.
In this mode interaction is disabled and session cannot be started nor continued.
In order to mark which seats should be displayed as selected, you may:
- Set the selectedObjects configuration parameter.
- Use the chart.doSelectObjects() and chart.deselectObjects() methods.