Interface: MfdTextPagesContext
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/TextPagesContainer.tsx:48
Context for MFD text pages
Methods
addTextPage()
addTextPage(
key
,render
):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/TextPagesContainer.tsx:55
Adds an MFD text page, given a key and a function returning a VNode
Parameters
Parameter | Type | Description |
---|---|---|
key | WT21MfdTextPage | the page's key |
render | (ref ) => VNode | a function rendering the page, given a reference to set on the page component |
Returns
void