Skip to main content

Class: G3XNavDataFieldClgRenderer

Renders G3X Touch Climb Gradient data fields.

Hierarchy

  • NavDataFieldTextRenderer<NavDataFieldType.ClimbGradient>

    G3XNavDataFieldClgRenderer

Constructors

constructor

new G3XNavDataFieldClgRenderer(): G3XNavDataFieldClgRenderer

Creates a new instance of G3XNavDataFieldClimbGradientRenderer.

Returns

G3XNavDataFieldClgRenderer

Overrides

NavDataFieldTextRenderer\<NavDataFieldType.ClimbGradient\>.constructor

Defined in

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

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