kor TürkçeGitHub

Splitter

Divides space into two adjustable panes.

kor/ui/SplitterSource

When to use

  • Use it for list and preview layouts on large screens.

Examples

List and preview

Loading the example

<k:Splitter height="220px" position="35">
	<k:start><k:List><k:ListItem title="Invoice 101"/><k:ListItem title="Invoice 102"/></k:List></k:start>
	<k:end><k:Empty icon="file-text" title="Preview" text="Drag the divider."/></k:end>
</k:Splitter>

API

Properties

NameTypeDefaultDescription
positionfloat50Percentage of the first pane
minint160Minimum pane size in pixels
verticalbooleanfalseWhether the panes are stacked
heightstring100%Height
labelstringAccessible name of the divider

Aggregations

NameTypeDescription
startsap.ui.core.Control[]First pane
endsap.ui.core.Control[]Second pane

Events

NameTypeDescription
resizeposition: floatThe size changed

Related

ColumnLayoutStack