Interface: IQMenuOptions
core/menu.IQMenuOptions
Table of contents
Properties
- art
- autoRenderItems
- basepath
- commands
- data
- description
- hotkeys
- itemFormat
- itemsX
- itemsY
- mouse
- mouseHighlightFormat
- name
- prompt
- promptX
- promptY
Properties
art
• Optional art: IQMenuArtOptions
Defined in
autoRenderItems
• Optional autoRenderItems: boolean
Defined in
basepath
• Optional basepath: string
Defined in
commands
• Optional commands: IMenuCommands & { default?: IMenuCommand }
Defined in
data
• Optional data: any
Defined in
description
• Optional description: string
Defined in
hotkeys
• Optional hotkeys: boolean
Enable keyboard hotkeys for menu items (default true)
Defined in
itemFormat
• Optional itemFormat: string
Defined in
itemsX
• Optional itemsX: number
Defined in
itemsY
• Optional itemsY: number
Defined in
mouse
• Optional mouse: boolean
Enable SGR mouse for clicking items (default true)
Defined in
mouseHighlightFormat
• Optional mouseHighlightFormat: string
| MCI string for “pressed” look when an item is clicked (e.g. “ | 15 | 16”). If omitted, reverse video is used. |
Defined in
name
• name: string
Defined in
prompt
• Optional prompt: string
Defined in
promptX
• Optional promptX: number
Defined in
promptY
• Optional promptY: number