Skip to main content

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

ParameterTypeDescription
storeWaypointInputStoreThe store associated with this controller.
selectedIcaoSubject<string>A subject which provides an ICAO string for this controller's input component to bind.
onInputTextValueOverride?(text) => voidA 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

ParameterTypeDescription
valuestringis the updated text from the input component.

Returns

void