Interface: NumberPadProps
Component props for NumberPad.
Hierarchy
ComponentProps
↳
NumberPadProps
Properties
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
ComponentProps.children
Defined in
src/sdk/components/FSComponent.ts:122
class
• Optional
class: string
| ToggleableClassNameRecord
| SubscribableSet
<string
>
CSS class(es) to apply to the number pad's root element.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:24
onDecimalPressed
• Optional
onDecimalPressed: () => void
A callback function to execute when the decimal button is pressed.
Type declaration
▸ (): void
A callback function to execute when the decimal button is pressed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:21
onNumberPressed
• Optional
onNumberPressed: (value
: number
) => void
A callback function to execute when a number pad button is pressed.
Type declaration
▸ (value
): void
A callback function to execute when a number pad button is pressed.
Parameters
Name | Type |
---|---|
value | number |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:15
onSignPressed
• Optional
onSignPressed: () => void
A callback function to execute when the sign button is pressed.
Type declaration
▸ (): void
A callback function to execute when the sign button is pressed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:18
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
ComponentProps.ref
Defined in
src/sdk/components/FSComponent.ts:125
showDecimalButton
• Optional
showDecimalButton: boolean
| Subscribable
<boolean
>
Whether to show the decimal button. Defaults to false
.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:30
showSignButton
• Optional
showSignButton: boolean
| Subscribable
<boolean
>
Whether to show the sign button. Defaults to false
.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NumberPad/NumberPad.tsx:27