Skip to main content

Class: WptInfoController

Wpt info controller

Constructors

constructor

new WptInfoController(store, selectedWaypoint): WptInfoController

Creates an instance of wpt info controller.

Parameters

NameTypeDescription
storeWptInfoStoreThe store.
selectedWaypointSubject<null | Waypoint>The subject which provides the waypoint info component's selected waypoint.

Returns

WptInfoController

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoController.ts:27

Properties

matchedWaypointsChangedHandler

Readonly matchedWaypointsChangedHandler: (waypoints: readonly FacilityWaypoint<Facility>[]) => void

A function which handles changes in waypoint input's matched waypoints.

Param

The matched waypoints.

Type declaration

▸ (waypoints): void

A function which handles changes in waypoint input's matched waypoints.

Parameters
NameTypeDescription
waypointsreadonly FacilityWaypoint<Facility>[]The matched waypoints.
Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoController.ts:13


selectedWaypointChangedHandler

Readonly selectedWaypointChangedHandler: (waypoint: null | Waypoint) => void

A function which handles changes in waypoint input's selected waypoint.

Param

The selected waypoint.

Type declaration

▸ (waypoint): void

A function which handles changes in waypoint input's selected waypoint.

Parameters
NameTypeDescription
waypointnull | WaypointThe selected waypoint.
Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfoController.ts:19