Skip to main content

object.deselect([ticketType])

Returns: Promise<void>

Deselects a selected object.

object.deselect();
generalAdmissionArea.deselect('adult');

The promise resolves when deselecting succeeded. That includes releasing the hold on the object, if a session is active.

It is rejected if the object could not be deselected - e.g. because the call to release the hold failed.