jquery-simple-splitter

1.0.5 • Public • Published

jquery.splitter.js

Simple splitter for jquery

DEMO

Install

npm install jquery-simple-splitter

Usage

Simple horizontal split is like this.

<script>
$(function() {
  $("#workspace").splitter({
    "orientation": "horizontal",
    "limit": 100
  });
});
</script>

The target element must have only two elements. And must not have other.

See demo.html

Settings

  • orientation - "horizontal" or "vertical". If omitted, default is "horizontal"
  • limit - int. Minimum size of left(top) element.
  • keepLeft - boolean. When window resized, keep left(top) size or not.

/jquery-simple-splitter/

    Package Sidebar

    Install

    npm i jquery-simple-splitter

    Weekly Downloads

    6

    Version

    1.0.5

    License

    MIT

    Last publish

    Collaborators

    • shunjikonishi