Skip to content

Commit 90b997a

Browse files
author
Marc J. Schmidt
committed
Merge pull request marcj#135 from eliotik/patch-2
descriptions of new options in settings
2 parents 1329b53 + 5958c63 commit 90b997a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

readme.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@ $('select').selectBox({
4444

4545
## Settings
4646

47-
| Key | Default | Values | Description |
48-
| ---------------|:-------------:|---------------------------:|-------------------------------------------------:|
49-
| mobile | `false` | Boolean | Disables the widget for mobile devices |
50-
| menuTransition | `default` | `default`, `slide`, `fade` | The show/hide transition for dropdown menus |
51-
| menuSpeed | `normal` | `slow`, `normal`, `fast` | The show/hide transition speed |
52-
| loopOptions | `false` | Boolean | Flag to allow arrow keys to loop through options |
47+
| Key | Default | Values | Description |
48+
| --------------------------|:-------------:|---------------------------:|------------------------------------------------------------------------------:|
49+
| mobile | `false` | Boolean | Disables the widget for mobile devices |
50+
| menuTransition | `default` | `default`, `slide`, `fade` | The show/hide transition for dropdown menus |
51+
| menuSpeed | `normal` | `slow`, `normal`, `fast` | The show/hide transition speed |
52+
| loopOptions | `false` | Boolean | Flag to allow arrow keys to loop through options |
53+
| topPositionCorrelation | `0` | Integer | Will be plused to top position if droplist will be show at the top |
54+
| bottomPositionCorrelation | `0` | Integer | Will be substracted from top position if droplist will be shown at the bottom |
55+
| hideOnWindowScroll | `true` | Boolean | If false then showed droplist will not hide itself on window scroll event |
5356

5457

5558
To specify settings after the init, use this syntax:
@@ -153,4 +156,4 @@ $('select').selectBox().change(function () {
153156

154157
## Credits
155158

156-
Original plugin by Cory LaViska of A Beautiful Site, LLC. (http://www.abeautifulsite.net/)
159+
Original plugin by Cory LaViska of A Beautiful Site, LLC. (http://www.abeautifulsite.net/)

0 commit comments

Comments
 (0)