mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(carousel): add thumbnails example (#3740)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -229,6 +229,19 @@ class: 'p-8 px-16'
|
||||
---
|
||||
::
|
||||
|
||||
## Examples
|
||||
|
||||
### With thumbnails
|
||||
|
||||
You can use the [`emblaApi`](#expose) function [scrollTo](https://www.embla-carousel.com/api/methods/#scrollto) to display thumbnails under the carousel that allows you to navigate to a specific slide.
|
||||
|
||||
::component-example
|
||||
---
|
||||
name: 'carousel-thumbnails-example'
|
||||
class: 'p-8 px-16'
|
||||
---
|
||||
::
|
||||
|
||||
## API
|
||||
|
||||
### Props
|
||||
|
||||
Reference in New Issue
Block a user