Class: MfdTextPageComponent<T>
Base class for MFD text page
Type parameters
Name | Type |
---|---|
T | extends MfdTextPageProps = MfdTextPageProps |
Hierarchy
DisplayComponent
<T
>↳
MfdTextPageComponent
↳↳
ProgressPage
Constructors
constructor
• new MfdTextPageComponent<T
>(props
): MfdTextPageComponent
<T
>
Creates an instance of a DisplayComponent.
Type parameters
Name | Type |
---|---|
T | extends MfdTextPageProps = MfdTextPageProps |
Parameters
Name | Type | Description |
---|---|---|
props | T | The propertis of the component. |
Returns
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
pageContainerDivRef
• Protected
Readonly
pageContainerDivRef: NodeReference
<HTMLDivElement
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/Pages/MfdTextPageComponent.tsx:22
props
• props: T
& ComponentProps
The properties of the component.
Inherited from
DisplayComponent.props
Defined in
sdk/components/FSComponent.ts:61
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
hide
▸ hide(): void
Hides the page
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/Pages/MfdTextPageComponent.tsx:36
onAfterRender
▸ onAfterRender(node
): void
Parameters
Name | Type |
---|---|
node | VNode |
Returns
void
Inherit Doc
Overrides
DisplayComponent.onAfterRender
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/Pages/MfdTextPageComponent.tsx:41
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(): null
| VNode
Renders the component.
Returns
null
| VNode
A JSX element to be rendered.
Inherited from
DisplayComponent.render
Defined in
sdk/components/FSComponent.ts:93
show
▸ show(): void
Shows the page
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/Pages/MfdTextPageComponent.tsx:29