Interface: NavDataFieldTypeRenderer<T>
Renders data field components for a single type of navigation data field.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Implemented by
NavDataFieldBearingRenderer
NavDataFieldDurationRenderer
NavDataFieldNumberUnitRenderer
NavDataFieldTextRenderer
NavDataFieldTimeRenderer
NextGenDateTimeNavDataFieldTypeRenderer
NextGenDisplayUnitNavDataFieldTypeRenderer
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.
Defined in
src/garminsdk/components/navdatafield/NavDataFieldRenderer.ts:27