Skip to content

Horizontal Menu View

A horizontal menu view displays a list of items side by side in a single row, similar to a lightbar. Items are selected with the cursor keys, Page Up, Page Down, Home and End, or by a hotKey.

A horizontal menu lays its items out along one row, so width sets the total width available to the whole list (default 15) and itemSpacing separates items horizontally rather than vertically.

Example

Configuration fragment (expand to view)
HM2: {
focus: true
width: 60 // set as desired
submit: true
argName: navSelect
items: [
"prev", "next", "details", "toggle queue", "rate", "help", "quit"
]
}