0.0.1 • Published 7 years ago
cog-split-view v0.0.1
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:
Property | Description | Default |
---|---|---|
isVertical | Determines the orientation of the split view panes, either vertical or horizontal. | false |
isResizable | Determines whether or not the panes are allowed to be resized with the dragger handle | true |
options | Options to be passed in to configure each individual pane within the split view. See component definition for all possible options. | null |
Running
ember serve
- Visit your app at http://localhost:4200.
Testing
ember serve
- Visit your app at http://localhost:4200/tests.
0.0.1
7 years ago