nebula-splitview | Vaadin

A collapsible split-view layout.

[ This description is mirrored from README.md at github.com/arsnebula/nebula-splitview on 2019-05-22 ]

Published on webcomponents.org

Build Status

<nebula-splitview>

A web component to display a collapsable split-view layout.

  • Two-column master/detail horizontal layout using slots
  • View collapses at a configurable breakpoint
  • When collapsed, detail can be toggled to overlay master view
  • Easily animate the transition between views

Installation

$ bower install -S arsnebula/nebula-splitview

Usage

Import the element:

<link rel="import" href="/bower_components/nebula-splitview/nebula-splitview.html"> 

Add and configure the element through markup.

<nebula-splitview
  collapsed="{{collapsed}}"
  detail="{{detail}}"
  breakpoint="(max-width: 960px)">
  <div slot="master"></div>
  <div slot="detail"></div>
</nebula-splitview>

For more information on element properties and methods see the element API documentation.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Change Log

See CHANGELOG

License

See LICENSE

Install

Link to this version
ImportedReleased 18 February 2017ISC License
Framework Support
Polymer 1.0+
Browser Independent
Install with
bower install --save arsnebula/nebula-splitview"#1.0.1"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 1.0.1

Dependencies

  • polymer#Polymer/polymer#^1.7.1
  • iron-media-query#PolymerElements/iron-media-query#^1.0.8