An options object for initializing a accordion layout.

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

Hierarchy (view full)


The content alignment of the layout.

The default is 'start'.

orientation?: SplitLayout.Orientation

The orientation of the layout.

The default is 'horizontal'.

The renderer to use for the accordion layout.

spacing?: number

The spacing between items in the layout.

The default is 4.

titleSpace?: number

The section title height or width depending on the orientation.

The default is 22.