Skip to main content

Class: WaypointInputController

Waypoint input controller

Constructors

constructor

new WaypointInputController(store, selectedIcao, onInputTextValueOverride?): WaypointInputController

Creates an instance of waypoint input controller.

Parameters

NameTypeDescription
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: string) => voidA function which is called when the input text value needs to be overridden.

Returns

WaypointInputController

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:22

Properties

ICAO_SEARCH_DEBOUNCE_DELAY

Static Readonly ICAO_SEARCH_DEBOUNCE_DELAY: 250

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:9

Methods

onInputChanged

onInputChanged(value): void

Handler method to handle the input text from the input component.

Parameters

NameTypeDescription
valuestringis the updated text from the input component.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UIControls/WaypointInputController.ts:63