Skip to main content

Interface: MfdTextPagesContext

Context for MFD text pages

Implemented by

Methods

addTextPage

addTextPage(key, render): void

Adds an MFD text page, given a key and a function returning a VNode

Parameters

NameTypeDescription
keyWT21MfdTextPagethe page's key
render(ref: NodeReference<MfdTextPageComponent<MfdTextPageProps>>) => VNodea function rendering the page, given a reference to set on the page component

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/MFD/Components/TextPagesContainer.tsx:55