Split Layout

<vscode-split-layout>

Properties

fixedPane

The size of the fixed pane will not change when the component is resized.

Attributefixed-pane
TypeFixedPaneType
handlePosition

Set the handle position programmatically. The value must include a unit, either % or px. If no unit is specified, the value is interpreted as px.

Attributehandle-position
Typestring | undefined
handleSize reflected

Controls the draggable area size in pixels. it is intended to use the value of workbench.sash.size.

Attributehandle-size
Typenumber
Default4
initialHandlePosition reflected

The handler position will reset to this position when it is double-clicked, or the resetHandlePosition() is called.

Attributeinitial-handle-position
Typestring
Default'50%'
resetOnDblClick reflected

Controls whether the handle position should reset to the value set in the initialHandlePosition when it is double-clicked.

Attributereset-on-dbl-click
Typeboolean
Defaultfalse
split reflected

Direction of the divider.

Attributesplit
TypeOrientation
version readonly

VSC Element version

Methods

resetHandlePosition

Sets the handle position to the value specified in the initialHandlePosition property.

Custom CSS Properties

--hover-border
Defaultvar(--vscode-sash-hoverBorder)