Skip to main content

Panes

Since 2.1.0

Development

Example

Basic

PreviewAngularReactVueJavaScript

Pane Layout

Since 2.1.0
PreviewAngularReactVueJavaScript

API (ix-pane)

Properties

Name
Description and specifications
borderless
Toggle the border of the pane. Defaults to the borderless attribute of the pane layout. If used standalone it defaults to false.
Attribute:
borderless
Type:
boolean
Default:
false
composition
Defines the position of the pane inside it's container. Inside a pane layout this property will automatically be set to the name of slot the pane is assigned to.
Attribute:
composition
Type:
"bottom" | "left" | "right" | "top"
Default:
'top'
expanded
State of the pane
Attribute:
expanded
Type:
boolean
Default:
false
heading
Title of the side panel
Attribute:
heading
Type:
string | undefined
hideOnCollapse
Define if the pane should have a collapsed state
Attribute:
hide-on-collapse
Type:
boolean
Default:
false
icon
Name of the icon
Attribute:
icon
Type:
string | undefined
size
The maximum size of the sidebar, when it is expanded
Attribute:
size
Type:
"240px" | "320px" | "33%" | "360px" | "480px" | "50%" | "600px"
Default:
'240px'
variant
Variant of the side pane. Defaults to the variant attribute of the pane layout. If used standalone it defaults to inline.
Attribute:
variant
Type:
"floating" | "inline"
Default:
'inline'

Events

Name
Description and specifications
borderlessChanged
This event is triggered when the variant of the pane is changed
Detail:
{ slot: string; borderless: boolean; }
expandedChanged
This event is triggered when the pane either expands or contracts
Detail:
{ slot: string; expanded: boolean; }
variantChanged
This event is triggered when the variant of the pane is changed
Detail:
{ slot: string; variant: "floating" | "inline"; }

API (ix-pane-layout)

Properties

Name
Description and specifications
borderless
Set the default border state for all panes in the layout
Attribute:
borderless
Type:
boolean
Default:
false
layout
Choose the layout of the panes. When set to 'full-vertical' the vertical panes (left, right) will get the full height. When set to 'full-horizontal' the horizontal panes (top, bottom) will get the full width.
Attribute:
layout
Type:
"full-horizontal" | "full-vertical"
Default:
'full-vertical'
variant
Set the default variant for all panes in the layout
Attribute:
variant
Type:
"floating" | "inline"
Default:
'inline'

Events

No events available for this component.