An options object for adding a widget to the dock layout.

interface IAddOptions {
    mode?: DockLayout.InsertMode;
    ref?: null | Widget;
}

Properties

Properties

The insertion mode for adding the widget.

The default is 'tab-after'.

ref?: null | Widget

The reference widget for the insert location.

The default is null.