Skip to main content

Class: NearestAirportsPageController

A controller for the nearest airports page.

Constructors

constructor

new NearestAirportsPageController(eventBus, fms, store, onNearestSearchInit?): NearestAirportsPageController

Constructor.

Parameters

NameTypeDescription
eventBusEventBusThe event bus.
fmsWT21FmsThe FMS.
storeNearestAirportsPageStoreThe data store associated with this controller.
onNearestSearchInit?() => voidA callback function to execute when this controller's nearest search session is initialized.

Returns

NearestAirportsPageController

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageController.ts:30

Methods

dequeueUpdate

dequeueUpdate(): void

Dequeues an update of the displayed nearest airport list.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageController.ts:53


destroy

destroy(): void

Destroys this controller.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageController.ts:206


enqueueUpdate

enqueueUpdate(): void

Enqueues an update of the displayed nearest airport list.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageController.ts:46