Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricedb/react-splitter
https://github.com/mauricedb/react-splitter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mauricedb/react-splitter
- Owner: mauricedb
- License: mit
- Created: 2015-06-27T15:49:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T18:48:54.000Z (over 5 years ago)
- Last Synced: 2024-10-02T08:38:24.312Z (about 1 month ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-splitter
This component is a wrapper around the [jquery.splitter](https://github.com/jcubic/jquery.splitter) component by [Jakub Jankiewicz](http://jcubic.pl).
## 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](https://github.com/jcubic/jquery.splitter) so check its documentation for possible values. See the example below for a starter.## Example
```javascript
var App = React.createClass({
render(){
return console.log(e.clientX)}>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
}
});
```