var RibcageSplitView = require('ribcage-split-view')
, Backbone = require('Backbone')
, options = {
split: 40
, minWidth: 500
, rootView: new Backbone.View()
}
, ribcageSplitView = new RibcageSplitView(options)
@import "ribcage-split-view";
- split - Integer from 0 to 100 defining the percentage of the screen the left pane should occupy
- minWidth - The minimum width of the screen that should enable the split view
Tests are in prova.
Install ribcage
npm i -g ribcage
ribcage preview .