An options object for creating a side panel widget.

Hierarchy

  • IOptions
    • IOptions

Properties

alignment?: Alignment

The content alignment of the layout.

The default is 'start'.

content?: Panel

The main child of the side panel

If nothing is provided it fallback to an AccordionToolbar panel.

header?: Panel

The header is at the top of the SidePanel, and that extensions can populate.

Defaults to an empty Panel if requested otherwise it won't be created.

layout?: AccordionLayout

The accordion layout to use for the accordion panel.

If this is provided, the other options are ignored.

The default is a new AccordionLayout.

orientation?: Orientation

The orientation of the layout.

The default is 'horizontal'.

renderer?: IRenderer

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.

toolbar?: Toolbar<Widget>

The toolbar to use for the widget. It sits between the header and the content

Defaults to an empty toolbar if requested otherwise it won't be created.

translator?: ITranslator

The application language translator.

Generated using TypeDoc