About the nebula-splitview category

nebula-splitview:
[ 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