<vaadin-split-layout>
Live Demo ↗
|
API documentation ↗
<vaadin-split-layout> is a Web Component implementing a split layout for two content elements with a draggable splitter between them, part of the Vaadin components.
<vaadin-split-layout>
<vaadin-split-layout orientation="vertical">
<div>First layout content</div>
<div>Second layout content</div>
</vaadin-split-layout>
<vaadin-split-layout orientation="vertical">
<div>Third layout content</div>
<div>Fourth layout content</div>
</vaadin-split-layout>
</vaadin-split-layout>
Installation
Install vaadin-split-layout
:
npm i @vaadin/split-layout --save
Once installed, import it in your application:
import '@vaadin/split-layout/vaadin-split-layout.js';
Getting started
Vaadin components use the Lumo theme by default.
To use the Material theme, import the correspondent file from the theme/material
folder.
Entry points
-
The component with the Lumo theme:
theme/lumo/vaadin-split-layout.js
-
The component with the Material theme:
theme/material/vaadin-split-layout.js
-
Alias for theme/lumo/vaadin-split-layout.js
:
vaadin-split-layout.js
Contributing
Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
License
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.