Update README.md.

Fix some texts and add a notation for using example codes.
This commit is contained in:
Hyunje Alex Jun 2013-09-30 16:23:27 +09:00
parent 67635e54d7
commit 7fec407295

View File

@ -56,19 +56,19 @@ perfect-scrollbar supports optional parameters.
### wheelSpeed
The scroll speed applied to mousewheel event.
Default: 10
**Default: 10**
### wheelPropagation
If this option is true, when the scroll reach the end of the side, mousewheel event will be propagated to parent element.
Default: false
**Default: false**
### minScrollbarLength
When set to an integer value, the thumb part of the scrollbar will not shrink below that number of pixels.
Default: null
**Default: null**
### useBothWheelAxes
When set to true, and only one (vertical or horizontal) scrollbar is visible then both vertical and horizontal scrolling will affect the scrollbar.
Default: false
**Default: false**
How to Use
----------
@ -112,6 +112,8 @@ $("#Demo").scrollTop(0);
$("#Demo").perfectScrollbar('update');
```
Also you can get the informations about how to use the plugin from example codes in the `examples` directory of the source tree.
Very helpful friends
--------------------