AthenaClient.rmlui.menu.menuInterfaces.Selection ​
client/rmlui/menu/menuInterfaces.Selection
Hierarchy ​
MenuOptionBase
<(value
:string
|number
) =>void
>↳
Selection
Properties ​
callback ​
• callback: Function
| (value
: string
| number
) => void
| (...args
: any
[]) => void
A callback when this menu option is changed.
Inherited from ​
Defined in ​
client/rmlui/menu/menuInterfaces.ts:26
description ​
• description: string
A description of this menu option.
Inherited from ​
Defined in ​
client/rmlui/menu/menuInterfaces.ts:18
onlyUpdateOnEnter ​
• Optional
onlyUpdateOnEnter: boolean
Only update when 'Enter' is pressed.
Overrides ​
MenuOptionBase.onlyUpdateOnEnter
Defined in ​
client/rmlui/menu/menuInterfaces.ts:62
options ​
• options: (string
| number
)[]
The available values for this option.
Defined in ​
client/rmlui/menu/menuInterfaces.ts:46
title ​
• title: string
The title of this menu option.
Inherited from ​
Defined in ​
client/rmlui/menu/menuInterfaces.ts:10
type ​
• type: "Selection"
Defined in ​
client/rmlui/menu/menuInterfaces.ts:38
value ​
• value: number
Current index of this selection.