Class: WaypointInputController
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:8
Waypoint input controller
Constructors
Constructor
new WaypointInputController(
store
,selectedIcao
,onInputTextValueOverride?
):WaypointInputController
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:22
Creates an instance of waypoint input controller.
Parameters
Parameter | Type | Description |
---|---|---|
store | WaypointInputStore | The store associated with this controller. |
selectedIcao | Subject <string > | A subject which provides an ICAO string for this controller's input component to bind. |
onInputTextValueOverride? | (text ) => void | A function which is called when the input text value needs to be overridden. |
Returns
WaypointInputController
Properties
ICAO_SEARCH_DEBOUNCE_DELAY
readonly
static
ICAO_SEARCH_DEBOUNCE_DELAY:250
=250
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:9
Methods
onInputChanged()
onInputChanged(
value
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:63
Handler method to handle the input text from the input component.
Parameters
Parameter | Type | Description |
---|---|---|
value | string | is the updated text from the input component. |
Returns
void