Skip to main content

Interface: NumberPadProps

The properties for the NumberPad component.

Hierarchy

  • ComponentProps

    NumberPadProps

Properties

children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

ComponentProps.children

Defined in

sdk/components/FSComponent.ts:122


class

Optional class: string | SubscribableSet<string>

CSS class(es) to apply to the number pad's root element.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:23


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

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:20


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
NameType
valuenumber
Returns

void

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:14


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

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:17


orientation

orientation: GtcOrientation

Whether the button is to be used in the vertical or horizontal orientation.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:26


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

ComponentProps.ref

Defined in

sdk/components/FSComponent.ts:125


showDecimalButton

Optional showDecimalButton: boolean | Subscribable<boolean>

Whether to show the decimal button. Defaults to false.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:32


showSignButton

Optional showSignButton: boolean | Subscribable<boolean>

Whether to show the sign button. Defaults to false.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Components/NumberPad/NumberPad.tsx:29