Class: InputFocusManager
Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/InputFocusManager.ts:6
Manages active
state of all input fields of all FlightPlanConfig
tabs
Constructors
Constructor
new InputFocusManager(
bus
):InputFocusManager
Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/InputFocusManager.ts:39
The constructor of InputFocusManager
.
Subscribes to Epic2CockpitEvents
to manage activeInputField
and activeTab
.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | An instance of the EventBus. |
Returns
InputFocusManager
Properties
activeTopTab
readonly
activeTopTab:Subject
<undefined
|string
>
Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/InputFocusManager.ts:15
inputFieldList
inputFieldList:
InputField
<string
>[] =[]
Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/InputFocusManager.ts:20
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/InputFocusManager.ts:98
Destroys this manager.
Returns
void