Skip to content
Docs
Reference

<tl-my-orders>

The signed-in customer's orders: event, date, ticket count, total and status, each row expanding to its tickets.

HTML tag<tl-my-orders>
Reactimport { TlMyOrders } from '@ticketlayer/elements-react'
CategoryAccount
Runs inweb (browser DOM), native (planned React Native set)

The signed-in customer's orders: event, date, ticket count, total and status, each row expanding to its tickets.

tl-my-orders - the signed-in customer's orders (GET /sales/my-orders through the SDK): event, date, ticket count, total and status per row. Clicking a row expands it to show the order's tickets (tl-order-tickets). Shows tl-login inline when nobody is signed in.

<tl-my-orders></tl-my-orders>

Properties#

PropertyAttributeDescriptionTypeDefault
columnscolumnsColumns for the expanded ticket grid.number2
emptyMessageempty-messageCopy for the empty state.string"When you buy tickets they'll show up here, ready to view and download."
unstyledunstyledRender into the light DOM with no stylesheet, for a page that styles the element itself: every node carries a tl-my-orders__* class. Without it the element is styled, and each node is a ::part() of the same name.booleanfalse

Events#

EventDescriptionType
tlErrorCustomEvent<{ message: string; }>
tlOrderSelectCustomEvent<{ orderId: 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-order-tickets>, <tl-concierge-slot>, <tl-login>

Used by: <tl-concierge>