Skip to main content

Class: NearestAirportsPageController

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageController.ts:11

A controller for the nearest airports page.

Constructors

Constructor

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

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

Constructor.

Parameters

ParameterTypeDescription
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

Methods

dequeueUpdate()

dequeueUpdate(): void

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

Dequeues an update of the displayed nearest airport list.

Returns

void


destroy()

destroy(): void

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

Destroys this controller.

Returns

void


enqueueUpdate()

enqueueUpdate(): void

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

Enqueues an update of the displayed nearest airport list.

Returns

void