Skip to main content

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

NameType
Textends NavDataFieldType

Parameters

NameTypeDescription
typeTA navigation data field type.
modelNavDataFieldTypeModelMap[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