Skip to content

Commit ea89c02

Browse files
docs(Swiper): fix typo in slidesPerView value (#2945)
1 parent 53e69e6 commit ea89c02

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/angular/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Swiper options should be provided as individual properties directly on the `<swi
171171
Let's say in an app with `ion-slides` we had the `slidesPerView` and `loop` options set:
172172

173173
```html
174-
<ion-slides [options]="{ slidesPerView: true, loop: true }">
174+
<ion-slides [options]="{ slidesPerView: 3, loop: true }">
175175
<ion-slide>Slide 1</ion-slide>
176176
<ion-slide>Slide 3</ion-slide>
177177
<ion-slide>Slide 3</ion-slide>

docs/vue/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Let's say in an app with `ion-slides` we had the `slidesPerView` and `loop` opti
309309

310310
```html
311311
<template>
312-
<ion-slides :options="{ slidesPerView: true, loop: true }">
312+
<ion-slides :options="{ slidesPerView: 3, loop: true }">
313313
<ion-slide>Slide 1</ion-slide>
314314
<ion-slide>Slide 2</ion-slide>
315315
<ion-slide>Slide 3</ion-slide>

versioned_docs/version-v6/angular/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Swiper options should be provided as individual properties directly on the `<swi
169169
Let's say in an app with `ion-slides` we had the `slidesPerView` and `loop` options set:
170170

171171
```html
172-
<ion-slides [options]="{ slidesPerView: true, loop: true }">
172+
<ion-slides [options]="{ slidesPerView: 3, loop: true }">
173173
<ion-slide>Slide 1</ion-slide>
174174
<ion-slide>Slide 3</ion-slide>
175175
<ion-slide>Slide 3</ion-slide>

versioned_docs/version-v6/vue/slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Let's say in an app with `ion-slides` we had the `slidesPerView` and `loop` opti
307307

308308
```html
309309
<template>
310-
<ion-slides :options="{ slidesPerView: true, loop: true }">
310+
<ion-slides :options="{ slidesPerView: 3, loop: true }">
311311
<ion-slide>Slide 1</ion-slide>
312312
<ion-slide>Slide 3</ion-slide>
313313
<ion-slide>Slide 3</ion-slide>

0 commit comments

Comments
 (0)