Class: NavDataFieldNumberUnitRenderer<T>
Renders Distance to Waypoint navigation data fields.
Type parameters
Name | Type |
---|---|
T | extends NumberUnitNavDataFieldTypes |
Implements
Constructors
constructor
• new NavDataFieldNumberUnitRenderer<T
>(options
): NavDataFieldNumberUnitRenderer
<T
>
Creates a new instance of NavDataFieldNumberUnitRenderer.
Type parameters
Name | Type |
---|---|
T | extends AboveGroundLevel | BearingToWaypoint | CabinAltitude | ClimbGradientPerDistance | DensityAltitude | DistanceToWaypoint | DistanceToDestination | DesiredTrack | FuelEconomy | Endurance | TimeToDestination | TimeToWaypoint | EstimatedTimeToVnav | FuelFlow | FlightLevel | FuelOnBoard | FuelOverDestination | GpsAltitude | GroundSpeed | ISA | OutsideTemperature | RamAirTemperature | TrueAirspeed | TrackAngleError | GroundTrack | FuelUsed | VerticalSpeedRequired | CrossTrack |
Parameters
Name | Type | Description |
---|---|---|
options | Readonly <NavDataFieldNumberUnitRendererOptions <TypeOfNavDataFieldModel <NavDataFieldTypeModelMap [T ]>>> | Options with which to configure the renderer. |
Returns
NavDataFieldNumberUnitRenderer
<T
>
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:42
Properties
options
• Protected
Readonly
options: Readonly
<NavDataFieldNumberUnitRendererOptions
<TypeOfNavDataFieldModel
<NavDataFieldTypeModelMap
[T
]>>>
Options with which to configure the renderer.
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:43
Methods
render
▸ render(model
): VNode
Renders a navigation data field of this renderer's data field type.
Parameters
Name | Type | Description |
---|---|---|
model | NavDataFieldTypeModelMap [T ] | The data model to use for the data field. |
Returns
VNode
A navigation data field of this renderer's data field type, as a VNode.
Implementation of
NavDataFieldTypeRenderer.render
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:48