Interface: NavDataFieldRenderer
Renders navigation data fields.
Implemented by
Methods
render
▸ render<T
>(type
, model
): VNode
Renders a navigation data field of a given type.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Parameters
Name | Type | Description |
---|---|---|
type | T | A navigation data field type. |
model | NavDataFieldTypeModelMap [T ] | The data model for the field. |
Returns
VNode
A navigation data field of the given type, as a VNode.
Throws
Error if an unsupported field type is specified.
Defined in
src/garminsdk/components/navdatafield/NavDataFieldRenderer.ts:15