Skip to main content

Class: G3XNavDataFieldMachRenderer

Renders G3X Touch Mach Number data fields.

Hierarchy

  • NavDataFieldTextRenderer<NavDataFieldType.MachNumber>

    G3XNavDataFieldMachRenderer

Constructors

constructor

new G3XNavDataFieldMachRenderer(): G3XNavDataFieldMachRenderer

Creates a new instance of G3XNavDataFieldMachNumberRenderer.

Returns

G3XNavDataFieldMachRenderer

Overrides

NavDataFieldTextRenderer\<NavDataFieldType.MachNumber\>.constructor

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NavDataField/G3XNavDataFieldTypeRenderers.tsx:486

Properties

formatter

Protected Readonly formatter: (value: number) => string

Type declaration

▸ (value): string

Parameters
NameType
valuenumber
Returns

string

Inherited from

NavDataFieldTextRenderer.formatter

Defined in

src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:211


options

Protected Readonly options: Readonly<NavDataFieldTextRendererOptions<number>>

Options with which to configure the renderer.

Inherited from

NavDataFieldTextRenderer.options

Defined in

src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:218

Methods

render

render(model): VNode

Parameters

NameType
modelNavDataFieldModel<number>

Returns

VNode

Inherit Doc

Inherited from

NavDataFieldTextRenderer.render

Defined in

src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:223