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