Skip to content

Commit

Permalink
change carousel docs to use correct attr name, slides-per-page (#1415)
Browse files Browse the repository at this point in the history
  • Loading branch information
esharri2 authored Jul 3, 2023
1 parent b2aa854 commit afca2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit afca2ad

Please sign in to comment.