Skip to main content

Class: InputHEventHandler

Defined in: workingtitle-instruments-epic2/shared/Components/Inputs/InputHEventHandler.ts:6

Handles HEvents from the TSC keyboard.

Constructors

Constructor

new InputHEventHandler(bus, isActive, inputRef): InputHEventHandler

Defined in: workingtitle-instruments-epic2/shared/Components/Inputs/InputHEventHandler.ts:21

The constructor of InputHEventHandler.

Parameters

ParameterTypeDescription
busEventBusAn instance of the EventBus.
isActiveSubscribable<boolean>Whether the InputBox owning this InputHEventHandler is being active.
inputRefNodeReference<HTMLInputElement>The ref to the input element.

Returns

InputHEventHandler

Properties

TSC_KEYBOARD_H_EVENT_REGEX

readonly static TSC_KEYBOARD_H_EVENT_REGEX: RegExp

Defined in: workingtitle-instruments-epic2/shared/Components/Inputs/InputHEventHandler.ts:7

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-epic2/shared/Components/Inputs/InputHEventHandler.ts:160

Destroys this InputHEventHandler and its subscriptions.

Returns

void


sendToTscKeyboard()

sendToTscKeyboard(): void

Defined in: workingtitle-instruments-epic2/shared/Components/Inputs/InputHEventHandler.ts:154

Sends the current input value and current cursor position to the TSC keyboard.

Returns

void