Skip to main content

<tl-buy-modal>

HTML tag<tl-buy-modal>
ReactNo wrapper: this element is mounted by the SDK, not placed in markup
CategoryPurchase
Runs inweb (browser DOM)

Properties

PropertyAttributeDescriptionTypeDefault
eventId (required)event-idEvent to sell tickets for.stringundefined
occurrenceIdoccurrence-idOptionally open straight to ticket selection for this occurrence.string | undefinedundefined

Events

EventDescriptionType
tlCheckoutCustomEvent<void>
tlCloseCustomEvent<void>
tlErrorCustomEvent<{ message: string; }>

Events are CustomEvents; the payload is on event.detail. In HTML, listen with element.addEventListener('tlXxx', handler); in React the wrapper exposes each one as an onTlXxx prop.

Renders: <tl-occurrence-selector>, <tl-ticket-selector>