kopia lustrzana https://github.com/shoelace-style/shoelace
change carousel docs to use correct attr name, slides-per-page (#1415)
rodzic
b2aa854d98
commit
afca2ad2e0
|
@ -506,7 +506,7 @@ const App = () => {
|
|||
|
||||
### Multiple Slides Per View
|
||||
|
||||
The `slides-per-view` attribute makes it possible to display multiple slides at a time. You can also use the `slides-per-move` attribute to advance more than once slide at a time, if desired.
|
||||
The `slides-per-page` attribute makes it possible to display multiple slides at a time. You can also use the `slides-per-move` attribute to advance more than once slide at a time, if desired.
|
||||
|
||||
```html:preview
|
||||
<sl-carousel navigation pagination slides-per-page="2" slides-per-move="2">
|
||||
|
|
Ładowanie…
Reference in New Issue