Skip to main content

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

ParameterTypeDescription
refNodeReference<WeightBalancePaneViewPanel>A node reference to which to assign the rendered panel.
busEventBusThe event bus.
weightBalanceConfigWeightBalanceConfigA weight and balance configuration object.
weightBalanceSettingManagerWeightBalanceUserSettingManagerA manager for weight and balance user settings.
unitsSettingManagerUnitsUserSettingManagerA manager for display unit user settings.

Returns

VNode

An aircraft load panel for the weight and balance display pane, as a VNode.