Interface: MfdTextPagesContext
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/Components/TextPagesContainer.tsx:46
Context for MFD text pages
Methods
addTextPage()
addTextPage(
key,render):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/Components/TextPagesContainer.tsx:53
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