Prop | Default | Type |
---|---|---|
as | 'div' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
autoSaveId | null | string | null Unique id used to auto-save group arrangement via |
direction* | 'vertical' | 'horizontal' The group orientation of splitter. | |
id | string | null Group id; falls back to | |
keyboardResizeBy | 10 | number | null Step size when arrow key was pressed. |
storage | defaultStorage | PanelGroupStorage Custom storage API; defaults to localStorage |
Emit | Payload |
---|---|
layout | [val: number[]] Event handler called when group layout changes |
Slots (default) | Payload |
---|---|
layout | number[] Current size of layout |