Skip to content

Commit

Permalink
readme option fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
asif-jalil committed Dec 4, 2022
1 parent b3b09cf commit 2f3150c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ You can initialize **Scroll Carousel** in HTML, without writing any JavaScript.

### Options

| Option | Type | Default | Description |
| ------------- | ------------- | ------- | ------------------------------------------------------------------------------------------------------- |
| speed | `number` | 7 | The value given is actually how fast you want to move on scroll. It needs to be greater than 0. |
| smartSpeed | `boolean` | false | To calculate the speed more smartly on displacement and time difference. |
| margin | `number` | 10 | To make gap between two slide |
| slideSelector | `string` | null | Select slide with class name which you want to select for carousel. Other element will behave as simple |
| autoplay | `boolean` | false | To play the slider automatically |
| autoplaySpeed | `number` | 5 | Control autoplay speed. It needs to be greater than 0 |
| direction | `'rtl'|'ltr'` | 'rtl' | Control direction left to right or right to left |
| Option | Type | Default | Description |
| ------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------- |
| speed | `number` | 7 | The value given is actually how fast you want to move on scroll. It needs to be greater than 0. |
| smartSpeed | `boolean` | false | To calculate the speed more smartly on displacement and time difference. |
| margin | `number` | 10 | To make gap between two slide |
| slideSelector | `string` | null | Select slide with class name which you want to select for carousel. Other element will behave as simple |
| autoplay | `boolean` | false | To play the slider automatically |
| autoplaySpeed | `number` | 5 | Control autoplay speed. It needs to be greater than 0 |
| direction | `string` | 'rtl' | Control direction left to right or right to left. Two possible option - `ltr` or `rtl` |

##### Example with options

Expand Down

0 comments on commit 2f3150c

Please sign in to comment.