diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 70f6286e1c..711dabdc62 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -2512,7 +2512,7 @@ export namespace Components { */ "getPreviousIndex": () => Promise; /** - * Get the Swiper instance. Use this to access the full Swiper API. See https://idangero.us/swiper/api/ for all API options. + * Get the Swiper instance. Use this to access the full Swiper API. See https://swiperjs.com/swiper-api for all API options. */ "getSwiper": () => Promise; /** @@ -2547,7 +2547,7 @@ export namespace Components { */ "mode"?: "ios" | "md"; /** - * Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options + * Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options */ "options": any; /** @@ -6290,7 +6290,7 @@ declare namespace LocalJSX { */ "onIonSlidesDidLoad"?: (event: CustomEvent) => void; /** - * Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options + * Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options */ "options"?: any; /** diff --git a/core/src/components/slides/readme.md b/core/src/components/slides/readme.md index 047cbe552f..d39d674bd2 100644 --- a/core/src/components/slides/readme.md +++ b/core/src/components/slides/readme.md @@ -498,7 +498,7 @@ import { Component } from '@angular/core'; }) export class SlideExample { // Optional parameters to pass to the swiper instance. - // See http://idangero.us/swiper/api/ for valid options. + // See https://swiperjs.com/swiper-api for valid options. slideOpts = { initialSlide: 1, speed: 400 @@ -539,7 +539,7 @@ ion-slides { var slides = document.querySelector('ion-slides'); // Optional parameters to pass to the swiper instance. -// See http://idangero.us/swiper/api/ for valid options. +// See https://swiperjs.com/swiper-api for valid options. slides.options = { initialSlide: 1, speed: 400 @@ -561,7 +561,7 @@ import React from 'react'; import { IonSlides, IonSlide, IonContent } from '@ionic/react'; // Optional parameters to pass to the swiper instance. -// See http://idangero.us/swiper/api/ for valid options. +// See https://swiperjs.com/swiper-api for valid options. const slideOpts = { initialSlide: 1, speed: 400 @@ -603,7 +603,7 @@ import { Component, h } from '@stencil/core'; }) export class SlidesExample { // Optional parameters to pass to the swiper instance. - // See http://idangero.us/swiper/api/ for valid options. + // See https://swiperjs.com/swiper-api for valid options. private slideOpts = { initialSlide: 1, speed: 400 @@ -664,7 +664,7 @@ import { defineComponent } from 'vue'; export default defineComponent({ components: { IonSlides, IonSlide }, setup() { - // Optional parameters to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options. + // Optional parameters to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options. const slideOpts = { initialSlide: 1, speed: 400 @@ -679,12 +679,12 @@ export default defineComponent({ ## Properties -| Property | Attribute | Description | Type | Default | -| ----------- | ----------- | -------------------------------------------------------------------------------------------- | --------------- | ----------- | -| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` | -| `options` | `options` | Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options | `any` | `{}` | -| `pager` | `pager` | If `true`, show the pagination. | `boolean` | `false` | -| `scrollbar` | `scrollbar` | If `true`, show the scrollbar. | `boolean` | `false` | +| Property | Attribute | Description | Type | Default | +| ----------- | ----------- | --------------------------------------------------------------------------------------------- | --------------- | ----------- | +| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` | +| `options` | `options` | Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options | `any` | `{}` | +| `pager` | `pager` | If `true`, show the pagination. | `boolean` | `false` | +| `scrollbar` | `scrollbar` | If `true`, show the scrollbar. | `boolean` | `false` | ## Events @@ -735,7 +735,7 @@ Type: `Promise` Get the Swiper instance. Use this to access the full Swiper API. -See https://idangero.us/swiper/api/ for all API options. +See https://swiperjs.com/swiper-api for all API options. #### Returns diff --git a/core/src/components/slides/slides.tsx b/core/src/components/slides/slides.tsx index 56a717b7f2..2590721643 100644 --- a/core/src/components/slides/slides.tsx +++ b/core/src/components/slides/slides.tsx @@ -29,7 +29,7 @@ export class Slides implements ComponentInterface { /** * Options to pass to the swiper instance. - * See http://idangero.us/swiper/api/ for valid options + * See https://swiperjs.com/swiper-api for valid options */ @Prop() options: any = {}; // SwiperOptions; // TODO @@ -330,7 +330,7 @@ export class Slides implements ComponentInterface { /** * Get the Swiper instance. * Use this to access the full Swiper API. - * See https://idangero.us/swiper/api/ for all API options. + * See https://swiperjs.com/swiper-api for all API options. */ @Method() async getSwiper(): Promise { diff --git a/core/src/components/slides/usage/angular.md b/core/src/components/slides/usage/angular.md index de4a7a70fa..94f3f242b0 100644 --- a/core/src/components/slides/usage/angular.md +++ b/core/src/components/slides/usage/angular.md @@ -21,7 +21,7 @@ import { Component } from '@angular/core'; }) export class SlideExample { // Optional parameters to pass to the swiper instance. - // See http://idangero.us/swiper/api/ for valid options. + // See https://swiperjs.com/swiper-api for valid options. slideOpts = { initialSlide: 1, speed: 400 diff --git a/core/src/components/slides/usage/javascript.md b/core/src/components/slides/usage/javascript.md index f949ef633d..1c82b35f80 100644 --- a/core/src/components/slides/usage/javascript.md +++ b/core/src/components/slides/usage/javascript.md @@ -20,7 +20,7 @@ var slides = document.querySelector('ion-slides'); // Optional parameters to pass to the swiper instance. -// See http://idangero.us/swiper/api/ for valid options. +// See https://swiperjs.com/swiper-api for valid options. slides.options = { initialSlide: 1, speed: 400 diff --git a/core/src/components/slides/usage/react.md b/core/src/components/slides/usage/react.md index fe3f1bdc9a..b17770a103 100644 --- a/core/src/components/slides/usage/react.md +++ b/core/src/components/slides/usage/react.md @@ -3,7 +3,7 @@ import React from 'react'; import { IonSlides, IonSlide, IonContent } from '@ionic/react'; // Optional parameters to pass to the swiper instance. -// See http://idangero.us/swiper/api/ for valid options. +// See https://swiperjs.com/swiper-api for valid options. const slideOpts = { initialSlide: 1, speed: 400 diff --git a/core/src/components/slides/usage/stencil.md b/core/src/components/slides/usage/stencil.md index e120ae1e36..e97bc9e43a 100644 --- a/core/src/components/slides/usage/stencil.md +++ b/core/src/components/slides/usage/stencil.md @@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core'; }) export class SlidesExample { // Optional parameters to pass to the swiper instance. - // See http://idangero.us/swiper/api/ for valid options. + // See https://swiperjs.com/swiper-api for valid options. private slideOpts = { initialSlide: 1, speed: 400 diff --git a/core/src/components/slides/usage/vue.md b/core/src/components/slides/usage/vue.md index c085daeec0..0719bb8447 100644 --- a/core/src/components/slides/usage/vue.md +++ b/core/src/components/slides/usage/vue.md @@ -21,7 +21,7 @@ import { defineComponent } from 'vue'; export default defineComponent({ components: { IonSlides, IonSlide }, setup() { - // Optional parameters to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options. + // Optional parameters to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options. const slideOpts = { initialSlide: 1, speed: 400