Class: G3XNavDataFieldGMeterRenderer
Renders G3X Touch G-Meter fields.
Hierarchy
NavDataFieldTextRenderer
<NavDataFieldType.GMeter
>↳
G3XNavDataFieldGMeterRenderer
Constructors
constructor
• new G3XNavDataFieldGMeterRenderer(): G3XNavDataFieldGMeterRenderer
Creates a new instance of G3XNavDataFieldGMeterRenderer.
Returns
Overrides
NavDataFieldTextRenderer\<NavDataFieldType.GMeter\>.constructor
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/NavDataField/G3XNavDataFieldTypeRenderers.tsx:390
Properties
formatter
• Protected
Readonly
formatter: (value
: number
) => string
Type declaration
▸ (value
): string
Parameters
Name | Type |
---|---|
value | number |
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
Name | Type |
---|---|
model | NavDataFieldModel <number > |
Returns
VNode
Inherit Doc
Inherited from
NavDataFieldTextRenderer.render
Defined in
src/garminsdk/components/navdatafield/NavDataFieldTypeRenderers.tsx:223