Skip to content

Toggle Menu View

A toggle menu view displays exactly two items side by side and lets the user flip between them — typically Yes/No or On/Off. It behaves like a Horizontal Menu View constrained to two entries.

A toggle menu view expects exactly two items. The first is treated as the true/yes value and the second as false/no, which is what lets a form read the view as a boolean.

Example

Configuration fragment (expand to view)
TM2: {
focus: true
submit: true
argName: navSelect
focusTextStyle: upper
items: [ "yes", "no" ]
}