0.0.1 • Published 7 years ago

cog-split-view v0.0.1

Weekly downloads
4
License
MIT
Repository
-
Last release
7 years ago

cog-split-view

A customizable split view (vertical, horizontal or both) that utilizes jQuery UI resizable component.

Installation

  • ember install cog-split-view

Usage

A simple implementation of a vertical two-panel view:

{{#cog-split-view isVertical=true as |p|}}
  {{#if p.isForPanelOne}}
    Panel One
  {{else if p.isForPanelTwo}}
    Panel Two
  {{/if}}
{{/cog-split-view}}

Configuration

The following parameters are supported by the component:

PropertyDescriptionDefault
isVerticalDetermines the orientation of the split view panes, either vertical or horizontal.false
isResizableDetermines whether or not the panes are allowed to be resized with the dragger handletrue
optionsOptions to be passed in to configure each individual pane within the split view. See component definition for all possible options.null

Running

Testing