Skip to main content

Interface: DisplayPaneProps

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:38

The properties for the DisplayPane component.

Extends

  • ComponentProps

Properties

bus

bus: EventBus

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:40

An instance of the event bus.


children?

optional children: DisplayChildren[]

Defined in: src/sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

ComponentProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:58

CSS class(es) to apply to the root element of the pane.


displayPaneViewFactory

displayPaneViewFactory: DisplayPaneViewFactory

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:46

The factory to use to create display pane views.


fullSize

fullSize: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | Subscribable<Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:52

The size of the pane's content area in full mode, as [width, height] in pixels.


halfSize

halfSize: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">> | Subscribable<Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:55

The size of the pane's content area in half mode, as [width, height] in pixels.


index

index: DisplayPaneIndex

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:43

The index of the display pane.


ref?

optional ref: NodeReference<any>

Defined in: src/sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

ComponentProps.ref


sizeMode

sizeMode: Subscribable<DisplayPaneSizeMode>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPane.tsx:49

The size mode of the display pane.