Skip to content

Commit 877a97d

Browse files
committed
Snake case to camel case
1 parent e0d3c6d commit 877a97d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ The plugin also accepts the following options
3939

4040
|Name|Default|Description|
4141
|--|--|--|
42-
|offset_x|`0`|Offset the element horizontally by *nth* number of pixels|
43-
|offset_y|`0`|Offset the element vertically by *nth* number of pixels|
44-
|preserve_cursor|`false`|When set to `true`, show the browsers default cursor with the custom element.|
42+
|offsetX|`0`|Offset the element horizontally by *nth* number of pixels|
43+
|offsetY|`0`|Offset the element vertically by *nth* number of pixels|
44+
|preserveCursor|`false`|When set to `true`, show the browsers default cursor with the custom element.|
4545

4646
**Options example**
4747
```javascript
4848
$('.cursor-item').cursorElement({
49-
offset_x: 10,
50-
offset_y: 10,
51-
preserve_cursor: true
49+
offsetX: 10,
50+
offsetY: 10,
51+
preserveCursor: true
5252
});
5353
```
5454

0 commit comments

Comments
 (0)