ember-expanding-sidebars
v0.0.7
Published
A simple sidebar that expands to reveal sub-routes.
Downloads
7
Readme
ember-expanding-sidebars
A simple sidebar for Ember.js routes that expands and collapses, depending on the current route.
Installation
ember install ember-expanding-sidebars
Usage
export default Ember.Controller.extend({
sections: [{
route: 'baz',
sections: [{
route: 'child-of-baz',
sections: [{
route: 'grandchild-of-baz'
}]
}]
}]
})
{{ember-expanding-sidebar parentRoute="foo.bar" sections=sections}}