Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewangelle committed Jul 24, 2017
1 parent 65df206 commit 4528015
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const images = [
autoPlaySpeed={1000}
infinite={true}
dots={true}
onSlideChange={()=>{
//function that fires when slide changes
}}
/>
```

Expand All @@ -45,6 +48,7 @@ const images = [
|`autoPlaySpeed` |integer | the rate of change between slides, defined in ms |
|`infinite` |bool | carousel will loop infinitely |
|`dots` |bool | dot navigation & pagination |
|`onSlideChange` |func | add a function to fire when the slide changes |


## Overiding Styles
Expand Down

0 comments on commit 4528015

Please sign in to comment.