Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilton Janfield committed Sep 13, 2015
1 parent 69c3101 commit 8787f33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,21 @@ available options.
jQuery(function ($) {
$('#panels').enhsplitter({
vertical: true,
limit: 125,
handle: 'striped'
minSize: 125,
handle: 'default'
});
}
```
Defaults
--------
To change the default value for any setting for your entire page, use the .defaults object:
To change the default value for any option, use the .defaults object:
```javascript
$.fn.enhsplitter.defaults.splitterSize = '13px';
```
Changing the .defaults object will cause every new splitter after that point to use those settings.
## Testing
Expand Down

0 comments on commit 8787f33

Please sign in to comment.