Skip to content

Commit e3cc9c4

Browse files
committed
Documentation data types fix.
1 parent c8f805a commit e3cc9c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.textile

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ h2. Options
8080
There are some options you can pass when initializing scrollbar:
8181

8282
|_. Option |_. Type|_. Default value |_. Description |
83-
| <code>animationSpeed</code> | <code>Integer</code> | <code>300</code> | Speed of the animation of programmatic scrolling. It's possible to edit it with <code>setAnimationSpeed</code> method. Animation speed equal to <code>0</code> means no animation.|
83+
| <code>animationSpeed</code> | <code>Integer</code> | <code>Number</code> | Speed of the animation of programmatic scrolling. It's possible to edit it with <code>setAnimationSpeed</code> method. Animation speed equal to <code>0</code> means no animation.|
8484
| <code>hScroll</code> | <code>Boolean</code> | <code>true</code> | Indicates whether or not, horizontal scrollbar should be shown when it's necessary. |
8585
| <code>skin</code>|<code>String</code>|<code>undefined</code>|A css skin class that will be added to the scrolled container. You can define it in html as well as here in options. Note that skin has to be defined in one of those ways.|
86-
| <code>swipeSpeed</code>|<code>Integer</code>|<code>1</code>|Indicates how fast touch scroll should be. When you swipe your finger by <code>x</code> pixels the content will be scrolled by <code>swipeSpeed * x</code> pixels.|
86+
| <code>swipeSpeed</code>|<code>Number</code>|<code>1</code>|Indicates how fast touch scroll should be. When you swipe your finger by <code>x</code> pixels the content will be scrolled by <code>swipeSpeed * x</code> pixels.|
8787
| <code>updateOnWindowResize</code> | <code>Boolean</code> | <code>false</code> | Indicates whether scrollbar should recalculate thumb size when window is resized. See <code>demos/resize.html</code> for an example.|
8888
| <code>vScroll</code> | <code>Boolean</code> | <code>true</code> | Same as above but applies to vertical scrollbar. |
89-
| <code>wheelSpeed</code>|<code>Integer</code>|<code>40</code>|Indicates how fast mouse wheel scroll should be. When you make the smallest possible mouse wheel move, the content will be scrolled by <code>wheelSpeed</code> pixels.|
89+
| <code>wheelSpeed</code>|<code>Number</code>|<code>40</code>|Indicates how fast mouse wheel scroll should be. When you make the smallest possible mouse wheel move, the content will be scrolled by <code>wheelSpeed</code> pixels.|
9090

9191
For example:
9292

0 commit comments

Comments
 (0)