An options object for initializing a split panel.

interface IOptions {
    alignment?: SplitLayout.Alignment;
    layout?: SplitLayout;
    orientation?: SplitLayout.Orientation;
    renderer?: SplitLayout.IRenderer;
    spacing?: number;
}

Properties

The content alignment of the panel.

The default is 'start'.

layout?: SplitLayout

The split layout to use for the split panel.

If this is provided, the other options are ignored.

The default is a new SplitLayout.

orientation?: SplitLayout.Orientation

The layout orientation of the panel.

The default is 'horizontal'.

The renderer to use for the split panel.

The default is a shared renderer instance.

spacing?: number

The spacing between items in the panel.

The default is 4.