Skip to content

Commit 8f0e2b7

Browse files
author
MerryPanda
committed
typo
1 parent 000030c commit 8f0e2b7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jQuery.cuteScroll.defaults={
7575
```
7676

7777
## How To Use
78-
All confuguration commands should be passed included in a command object, as simple as this:
78+
All confuguration commands should be included in a command object to be recognized, as simple as this:
7979
```javascript
8080
jQuery.cuteScroll({
8181
create:{// is the command object
@@ -95,14 +95,14 @@ jQuery.cuteScroll({
9595
```
9696

9797
### Commands
98-
- create:<object> - creates a scroller
99-
- recreate:<object> - recreates a scroller
100-
- update:<object> - updates settings
101-
- jumpToTop:<boolean> - jumps to the top of a scrollable div if TRUE
102-
- jumpToBottom:<boolean> - jumps to the top of a scrollable div if TRUE
103-
- log:<string> - logs some message
104-
- alert:<string> - alerts some message
105-
- remove:<boolean> - removes a scroller if TRUE
98+
- create:`<object>` - creates a scroller
99+
- recreate:`<object>` - recreates a scroller
100+
- update:`<object>` - updates settings
101+
- jumpToTop:`<boolean>` - jumps to the top of a scrollable div if TRUE
102+
- jumpToBottom:`<boolean>` - jumps to the bottom of a scrollable div if TRUE
103+
- log:`<string>` - logs some message via console
104+
- alert:`<string>` - alerts some message
105+
- remove:`<boolean>` - removes a scroller if TRUE
106106

107107
### AddClass, removeClass
108108
You can add or remove any class of a scroller element. All changes will be reversed on the remove command

0 commit comments

Comments
 (0)