Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
|
raw
history blame
2.78 kB
### Methods
| Name | Arguments | Description |
| ------------ | ------------------ | --------------------------- |
| `slickPrev` | None | go to previous slide |
| `slickNext` | None | go to next slide |
| `slickGoTo` | index, dontAnimate | go to the given slide index |
| `slickPause` | None | pause the autoplay |
| `slickPlay` | None | start the autoplay |
#### Followings are not going to be implemented
| Name | type | Reason |
| ------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `unslick` | method | same functionality can be achieved with `unslick` prop |
| `slickSetOption` | method | same functionality can be achieved via props and managing state for them in wrapper |
| `slickFilter` | method | same functionality can be achieved as with dynamic slides, look at dynamic slides [example](https://github.com/akiran/react-slick/blob/master/examples/DynamicSlides.js) |
| `slickUnfilter` | method | same functionality can be achieved as with dynamic slides, look at dynamic slides [example](https://github.com/akiran/react-slick/blob/master/examples/DynamicSlides.js) |
| `slickAdd` | method | same functionality can be achieved as with dynamic slides, look at dynamic slides [example](https://github.com/akiran/react-slick/blob/master/examples/DynamicSlides.js) |
| `slickRemove` | method | same functionality can be achieved as with dynamic slides, look at dynamic slides [example](https://github.com/akiran/react-slick/blob/master/examples/DynamicSlides.js) |
| `slickCurrentSlide` | method | same functionality can be achieved with `beforeChange hook` |
| `slickGetOption` | method | manage wrapper state for desired options |
| `getSlick` | method | a simple ref will do |