ribcage-split-view

1.0.2 • Public • Published

RibcageSplitView

Usage

  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";

Options

  • 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

Tests are in prova.

Developing

Install ribcage

npm i -g ribcage
ribcage preview .

Open http://localhost:4000/default

/ribcage-split-view/

    Package Sidebar

    Install

    npm i ribcage-split-view

    Weekly Downloads

    9

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • benng