Skip to main content

Interface: NavDataGenericFieldProps<T>

Component props for NavDataGenericField.

Type parameters

Name
T

Hierarchy

Properties

children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

NavDataFieldProps.children

Defined in

src/sdk/components/FSComponent.ts:122


class

Optional class: string

CSS class(es) to apply to the root of the component.

Inherited from

NavDataFieldProps.class

Defined in

src/garminsdk/components/navdatafield/NavDataField.tsx:22


model

model: NavDataFieldModel<T>

The model data field's data model.

Inherited from

NavDataFieldProps.model

Defined in

src/garminsdk/components/navdatafield/NavDataField.tsx:19


onDestroy

Optional onDestroy: () => void

A function to execute when the component is destroyed.

Type declaration

▸ (): void

A function to execute when the component is destroyed.

Returns

void

Defined in

src/garminsdk/components/navdatafield/NavDataField.tsx:55


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

NavDataFieldProps.ref

Defined in

src/sdk/components/FSComponent.ts:125


title

title: string

The title of the data field.

Inherited from

NavDataFieldProps.title

Defined in

src/garminsdk/components/navdatafield/NavDataField.tsx:16