Skip to main content

chart.startNewSession()

Type: function()
Returns: Promise<void>

Previously selected objects become unselected, a fresh hold token is generated, and the seating chart is re-initialized.

let chart = new seatsio.SeatingChart({...}).render();

// Sometime after rendering or triggered elsewhere in your application...
await chart.startNewSession();
Call this method after rendering

Rendering can take a few seconds. If you want to call this method immediately after rendering, do so by passing a callback to the onChartRendered config, and calling this method from there.