Class: WptInfoController
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/WptInfo/WptInfoController.ts:8
Wpt info controller
Constructors
Constructor
new WptInfoController(
store,selectedWaypoint):WptInfoController
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/WptInfo/WptInfoController.ts:27
Creates an instance of wpt info controller.
Parameters
| Parameter | Type | Description |
|---|---|---|
store | WptInfoStore | The store. |
selectedWaypoint | Subject<null | Waypoint> | The subject which provides the waypoint info component's selected waypoint. |
Returns
WptInfoController
Properties
matchedWaypointsChangedHandler()
readonlymatchedWaypointsChangedHandler: (waypoints) =>void
Defined in: workingtitle-instruments-g1000/html_ui/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
| Parameter | Type | Description |
|---|---|---|
waypoints | readonly FacilityWaypoint<Facility>[] | The matched waypoints. |
Returns
void
Param
The matched waypoints.
selectedWaypointChangedHandler()
readonlyselectedWaypointChangedHandler: (waypoint) =>void
Defined in: workingtitle-instruments-g1000/html_ui/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
| Parameter | Type | Description |
|---|---|---|
waypoint | null | Waypoint | The selected waypoint. |
Returns
void
Param
The selected waypoint.