Class: NavDataFieldTimeRenderer<T>
Renders navigation data fields which display a time value.
Type parameters
Name | Type |
---|---|
T | extends TimeNavDataFieldTypes |
Implements
Constructors
constructor
• new NavDataFieldTimeRenderer<T
>(options
): NavDataFieldTimeRenderer
<T
>
Creates a new instance of NavDataFieldTimeRenderer.
Type parameters
Name | Type |
---|---|
T | extends ClimbGradient | CarbonMonoxide | TimeOfWaypointArrival | GMeter | GlideRatio | LocalTime | TimeOfDestinationArrival | MachNumber | UtcTime |
Parameters
Name | Type | Description |
---|---|---|
options | Readonly <NavDataFieldTimeRendererOptions > | Options with which to configure the renderer. |
Returns
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:173
Properties
options
• Protected
Readonly
options: Readonly
<NavDataFieldTimeRendererOptions
>
Options with which to configure the renderer.
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:174
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:179