Skip to main content

Interface: NumberPadProps

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:12

The properties for the NumberPad component.

Extends

  • ComponentProps

Properties

children?

optional children: DisplayChildren[]

Defined in: sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

ComponentProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:23

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


onDecimalPressed()?

optional onDecimalPressed: () => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:20

A callback function to execute when the decimal button is pressed.

Returns

void


onNumberPressed()?

optional onNumberPressed: (value) => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:14

A callback function to execute when a number pad button is pressed.

Parameters

ParameterType
valuenumber

Returns

void


onSignPressed()?

optional onSignPressed: () => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:17

A callback function to execute when the sign button is pressed.

Returns

void


orientation

orientation: GtcOrientation

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:26

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


ref?

optional ref: NodeReference<any>

Defined in: sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

ComponentProps.ref


showDecimalButton?

optional showDecimalButton: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:32

Whether to show the decimal button. Defaults to false.


showSignButton?

optional showSignButton: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/NumberPad/NumberPad.tsx:29

Whether to show the sign button. Defaults to false.