Skip to main content

Class: WptInfoController

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

Wpt info controller

Constructors

Constructor

new WptInfoController(store, selectedWaypoint): WptInfoController

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

Creates an instance of wpt info controller.

Parameters

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

Returns

WptInfoController

Properties

matchedWaypointsChangedHandler()

readonly matchedWaypointsChangedHandler: (waypoints) => void

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

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

A callback which is called when the waypoint input's matched waypoints change.

Parameters

ParameterTypeDescription
waypointsreadonly FacilityWaypoint<Facility>[]The matched waypoints.

Returns

void

Param

The matched waypoints.


selectedWaypointChangedHandler()

readonly selectedWaypointChangedHandler: (waypoint) => void

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

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

A callback which is called when the waypoint input's selected waypoint changes.

Parameters

ParameterTypeDescription
waypointnull | WaypointThe selected waypoint.

Returns

void

Param

The selected waypoint.