Skip to content

five-on-it / apps/client/src/ui/nav / Trail

Interface: Trail ​

Defined in: apps/client/src/ui/nav.ts:44

Where a page sits: its Back, the Back's id (the end-to-end tests'), its breadcrumbs, and whether Esc goes back.

Properties ​

back ​

back: string

Defined in: apps/client/src/ui/nav.ts:46

The address Back goes to: the page's logical parent.


backId ​

backId: string

Defined in: apps/client/src/ui/nav.ts:48

The Back's element id (game-back, lobby-back…).


crumbs ​

crumbs: Crumb[]

Defined in: apps/client/src/ui/nav.ts:50

From the main menu to the page shown.


escape ​

escape: boolean

Defined in: apps/client/src/ui/nav.ts:52

Whether Esc goes back (not in the studio, whose Esc drops the tool in hand).