ui/client/features/shell/domain/NarrowPanes
Pure (DOMAIN-001): the entries of the narrow layout's bottom tab bar.
Cockpit client (features), v0.8. Source: ui/client/features/shell/domain/NarrowPanes.ts.
Variables#
DEFAULT_NARROW_PANE#
constDEFAULT_NARROW_PANE:NarrowPane='mid'
Defined in: ui/client/features/shell/domain/NarrowPanes.ts:11
NARROW_PANES#
constNARROW_PANES:object[]
Defined in: ui/client/features/shell/domain/NarrowPanes.ts:5
Bottom tab bar entries, in visual order; mid is the stage (the current screen).
Type Declaration#
id
id:
NarrowPane
label
label:
string
Functions#
nextNarrowPane()#
nextNarrowPane(
current,key):NarrowPane|null
Defined in: ui/client/features/shell/domain/NarrowPanes.ts:14
Pane to move to for a key press on the bottom tab bar; null for other keys.
Parameters#
current
key
string
Returns#
NarrowPane | null