Skip to main content

Interface: NavDataNumberFieldProps<T>

Component props for NavDataNumberField.

Type parameters

NameType
Textends number

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


formatter

formatter: (number: number) => string

A function which formats numbers.

Type declaration

▸ (number): string

A function which formats numbers.

Parameters
NameType
numbernumber
Returns

string

Defined in

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


model

model: NavDataFieldModel<T>

The model data field's data model.

Inherited from

NavDataFieldProps.model

Defined in

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


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