New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-splitter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-splitter

This component is a wrapper around the [jquery.splitter](https://github.com/jcubic/jquery.splitter) component by [Jakub Jankiewicz](http://jcubic.pl).

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-splitter

This component is a wrapper around the jquery.splitter component by Jakub Jankiewicz.

Dependency

For now this component depends on jQuery so make sure to load that. This goal is to change this into a native React component without a jQuery dependency in the future.

Usage

The Splitter components props are passed on to the split function of the jquery.splitter so check its documentation for possible values. See the example below for a starter.

Example

var App = React.createClass({
    render(){
        return <Splitter style={{height:200}}
                         orientation='vertical'
                         position='40%'
                         onDragEnd={e => console.log(e.clientX)}>
            <div>
                Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
            </div>
            <div>
                Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
            </div>
        </Splitter>
    }
});

Keywords

FAQs

Package last updated on 08 Jul 2015

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