Class: VSpeedValue<T>
The VSpeedValue component.
Type parameters
Name | Type |
---|---|
T | extends VSpeedValueProps = VSpeedValueProps |
Hierarchy
DisplayComponent
<T
>↳
VSpeedValue
Constructors
constructor
• new VSpeedValue<T
>(props
): VSpeedValue
<T
>
Creates an instance of a DisplayComponent.
Type parameters
Name | Type |
---|---|
T | extends VSpeedValueProps = VSpeedValueProps |
Parameters
Name | Type | Description |
---|---|---|
props | T | The propertis of the component. |
Returns
VSpeedValue
<T
>
Inherited from
DisplayComponent<T>.constructor
Defined in
sdk/components/FSComponent.ts:73
Properties
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
DisplayComponent.context
Defined in
sdk/components/FSComponent.ts:64
contextType
• Optional
Readonly
contextType: readonly [] = undefined
The type of context for this component, if any.
Inherited from
DisplayComponent.contextType
Defined in
sdk/components/FSComponent.ts:67
isModified
• Protected
Readonly
isModified: Subject
<boolean
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:20
isVisible
• Protected
Readonly
isVisible: Subject
<boolean
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:19
props
• props: T
& ComponentProps
The properties of the component.
Inherited from
DisplayComponent.props
Defined in
sdk/components/FSComponent.ts:61
speed
• Protected
Readonly
speed: ComputedSubject
<number
, string
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:16
valueContainerRef
• Protected
Readonly
valueContainerRef: NodeReference
<HTMLDivElement
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:22
Methods
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Inherited from
DisplayComponent.destroy
Defined in
sdk/components/FSComponent.ts:98
getContext
▸ getContext(context
): never
Gets a context data subscription from the context collection.
Parameters
Name | Type | Description |
---|---|---|
context | never | The context to get the subscription for. |
Returns
never
The requested context.
Throws
An error if no data for the specified context type could be found.
Inherited from
DisplayComponent.getContext
Defined in
sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(): void
A callback called after the component renders.
Returns
void
Overrides
DisplayComponent.onAfterRender
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:51
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayComponent.onBeforeRender
Defined in
sdk/components/FSComponent.ts:80
render
▸ render(): VNode
Returns
VNode
Inherit Doc
Overrides
DisplayComponent.render
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:62
setIsModified
▸ setIsModified(modified
): void
Sets a value indicating if this value was modified.
Parameters
Name | Type | Description |
---|---|---|
modified | boolean | The modified value. |
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:44
setIsVisible
▸ setIsVisible(visible
): void
Sets this V speed's visibility.
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | The bug visibility. |
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:36
setVSpeed
▸ setVSpeed(speed
): void
Sets the speed this V speed value should display.
Parameters
Name | Type | Description |
---|---|---|
speed | number | The bug speed. |
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/VSpeedValue.tsx:28