change carousel docs to use correct attr name, slides-per-page (#1415)

This commit is contained in:
Evan Harrison
2023-07-03 11:14:15 -04:00
committed by GitHub
parent b2aa854d98
commit afca2ad2e0

View File

@@ -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">