Interface: WeightBalancePaneViewModule
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewModule.ts:12
A module that allows customization of certain aspects of the weight and balance display pane.
Methods
renderAircraftLoadPanel()
renderAircraftLoadPanel(
ref
,bus
,weightBalanceConfig
,weightBalanceSettingManager
,unitsSettingManager
):VNode
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewModule.ts:23
Renders the aircraft load panel for the weight and balance display pane. The panel should be rendered as a
display component that implements the WeightBalancePaneViewPanel
interface.
Parameters
Parameter | Type | Description |
---|---|---|
ref | NodeReference <WeightBalancePaneViewPanel > | A node reference to which to assign the rendered panel. |
bus | EventBus | The event bus. |
weightBalanceConfig | WeightBalanceConfig | A weight and balance configuration object. |
weightBalanceSettingManager | WeightBalanceUserSettingManager | A manager for weight and balance user settings. |
unitsSettingManager | UnitsUserSettingManager | A manager for display unit user settings. |
Returns
VNode
An aircraft load panel for the weight and balance display pane, as a VNode.