split-view
A drop-in framework to make resizable split views.
Install
npm install split-view
Usage
CSS
@import 'split-view'
JavaScript
import 'split-view'
HTML
View container:
<split-view horizontal|verticle></split-view>
Divider
<split-divider wide|thin/>
Add fill
attribute to a view to make it stretched. Normally, you have views that have fixed width/height, the one with fill
attribute will fill the rest of the container.
Customize divider
Sample
Codepen
See samples
folder for more.