Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-split-pane

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-split-pane

A simple resizable split pane Angular 2 library

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
601
decreased by-1.48%
Maintainers
1
Weekly downloads
 
Created
Source

ng2-split-pane

npm version

Split View module for Angular 2

See an example on plnkr here

I should be pretty easy to use (hopefully), you can ether have a horizontal-split-pane or a vertical-split-pane

These can take 3 optional configuration values;

KeyRangeDoes
primary-component-minsizevalue in pixelsOnly allow the primary pane (either top or left) to go as small as this
secondary-component-minsizevalue in pixelsOnly allow the secondary pane (either bottom or right) to go as small as this
primary-component-initialratioinitial value in a ratio of primary/secondary (range 0-1)The initial size to create the primary pane (secondary will fill the remaining), this value will be over-ridden if a value is found in the local storage.
local-storage-keystring value used as the keyIf this value is present, uses this key withing localstorage to remember the position of the divider bar
<horizontal-split-pane primary-component-minsize="50" secondary-component-minsize="100" local-storage-key="split-pane" primary-component-initialratio="0.8">
    <div class="split-pane-content-primary">
        <div class="upper">
            Upper pane
        </div>
    </div>
    <div class="split-pane-content-secondary">
        <div class="lower">
            Lower pane
        </div>
    </div>
</horizontal-split-pane>

Keywords

FAQs

Package last updated on 27 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc