Skip to main content

Interface: KeyboardProps

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:15

Component props for Keyboard.

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 | ToggleableClassNameRecord | SubscribableSet<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:36

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


isSpaceButtonEnabled

isSpaceButtonEnabled: boolean

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:24

Whether the space button is enabled.


onBackspacePressed()?

optional onBackspacePressed: () => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:30

A callback function which is called when the backspace button is pressed.

Returns

void


onFindPressed()?

optional onFindPressed: () => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:33

A callback function which is called when the "Find" button is pressed.

Returns

void


onKeyPressed()?

optional onKeyPressed: (char) => void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:27

A callback function which is called when a character key button is pressed.

Parameters

ParameterType
charstring

Returns

void


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

ComponentProps.ref


showFindButton

showFindButton: boolean

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Components/Keyboard/Keyboard.tsx:21

Whether to show the "Find" button. If true, then the "Find" button will replace the space button while the keyboard is displaying letters, and the space button will instead be shown while the keyboard is displaying numerals.