0.0.11 • Published 10 years ago

ember-collapsible-layout v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

Build Status Coverage Status npm

Ember collapsible layout

See demo here

Installation

npm install ember-collapsible-layout --save-dev

Usage

In your template:

{{#collapsible-layout as |layout|}}

  {{#collapsible-panel
  layout=layout
  config=centerPanel
  }}
    Center panel content here
  {{/collapsible-panel}}

  {{#collapsible-panel
  layout=layout
  config=leftPanel
  }}
    Left panel content here
  {{/collapsible-panel}}

{{/collapsible-layout}}

In the controller:

export default Ember.Controller.extend({
  leftPanel: {
    region: "left", // required field
    width: 300,     
    resizeable: true
  },  

  centerPanel: {  // center panel is only required panel
    region: "center"
  }
});
0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago