New to Kendo UI for Vue? Start a free 30-day trial

Splitter

Component

Represents the Kendo UI for Vue Splitter component. Accepts properties of type SplitterProps.

Definition

Package:@progress/kendo-vue-layout

Properties Interface:SplitterProps

Syntax:

vue
<Splitter
    :style="{ height: '340px' }"
    :panes="[
        { size: '30%', min: '20%', collapsible: true, content: 'shipments' },
        { content: 'details' }
    ]"
    :orientation="'horizontal'"
    @change="onChange"
>
    <template v-slot:shipments>Shipment list</template>
    <template v-slot:details>Shipment details</template>
</Splitter>

Properties

Sets the initial options of the Splitter panes (more information and examples). Use it for uncontrolled state.

Fires after the user resizes or collapses a Splitter pane. Use it to update the pane options and to recalculate the layout of components inside the panes.

Parameters:eventSplitterOnChangeEvent

Sets the orientation of the panes in the Splitter (more information and examples). A horizontal Splitter places the panes side by side. A vertical Splitter places the panes one above the other.

The supported values are horizontal and vertical.

Default:

horizontal

Sets the options of the Splitter panes (more information and examples). Use it for controlled state.