Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for creating a panel. An options object for initializing a box panel.

Hierarchy

  • IOptions

Index

Properties

Optional alignment

alignment: Alignment

The content alignment of the panel.

The default is 'start'.

Optional direction

direction: Direction

The layout direction of the panel.

The default is 'top-to-bottom'.

Optional layout

layout: BoxLayout

The panel layout to use for the panel. The box layout to use for the box panel.

The default is a new PanelLayout.

If this is provided, the other options are ignored.

The default is a new BoxLayout.

Optional spacing

spacing: undefined | number

The spacing between items in the panel.

The default is 4.

Generated using TypeDoc