Skip to content

Commit df71a0e

Browse files
authored
docs(swiper): update swiper api link (#24972)
1 parent 2909b08 commit df71a0e

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

core/src/components.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ export namespace Components {
25122512
*/
25132513
"getPreviousIndex": () => Promise<number>;
25142514
/**
2515-
* Get the Swiper instance. Use this to access the full Swiper API. See https://idangero.us/swiper/api/ for all API options.
2515+
* Get the Swiper instance. Use this to access the full Swiper API. See https://swiperjs.com/swiper-api for all API options.
25162516
*/
25172517
"getSwiper": () => Promise<any>;
25182518
/**
@@ -2547,7 +2547,7 @@ export namespace Components {
25472547
*/
25482548
"mode"?: "ios" | "md";
25492549
/**
2550-
* Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options
2550+
* Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options
25512551
*/
25522552
"options": any;
25532553
/**
@@ -6290,7 +6290,7 @@ declare namespace LocalJSX {
62906290
*/
62916291
"onIonSlidesDidLoad"?: (event: CustomEvent<void>) => void;
62926292
/**
6293-
* Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options
6293+
* Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options
62946294
*/
62956295
"options"?: any;
62966296
/**

core/src/components/slides/readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ import { Component } from '@angular/core';
498498
})
499499
export class SlideExample {
500500
// Optional parameters to pass to the swiper instance.
501-
// See http://idangero.us/swiper/api/ for valid options.
501+
// See https://swiperjs.com/swiper-api for valid options.
502502
slideOpts = {
503503
initialSlide: 1,
504504
speed: 400
@@ -539,7 +539,7 @@ ion-slides {
539539
var slides = document.querySelector('ion-slides');
540540

541541
// Optional parameters to pass to the swiper instance.
542-
// See http://idangero.us/swiper/api/ for valid options.
542+
// See https://swiperjs.com/swiper-api for valid options.
543543
slides.options = {
544544
initialSlide: 1,
545545
speed: 400
@@ -561,7 +561,7 @@ import React from 'react';
561561
import { IonSlides, IonSlide, IonContent } from '@ionic/react';
562562

563563
// Optional parameters to pass to the swiper instance.
564-
// See http://idangero.us/swiper/api/ for valid options.
564+
// See https://swiperjs.com/swiper-api for valid options.
565565
const slideOpts = {
566566
initialSlide: 1,
567567
speed: 400
@@ -603,7 +603,7 @@ import { Component, h } from '@stencil/core';
603603
})
604604
export class SlidesExample {
605605
// Optional parameters to pass to the swiper instance.
606-
// See http://idangero.us/swiper/api/ for valid options.
606+
// See https://swiperjs.com/swiper-api for valid options.
607607
private slideOpts = {
608608
initialSlide: 1,
609609
speed: 400
@@ -664,7 +664,7 @@ import { defineComponent } from 'vue';
664664
export default defineComponent({
665665
components: { IonSlides, IonSlide },
666666
setup() {
667-
// Optional parameters to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options.
667+
// Optional parameters to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options.
668668
const slideOpts = {
669669
initialSlide: 1,
670670
speed: 400
@@ -679,12 +679,12 @@ export default defineComponent({
679679

680680
## Properties
681681

682-
| Property | Attribute | Description | Type | Default |
683-
| ----------- | ----------- | -------------------------------------------------------------------------------------------- | --------------- | ----------- |
684-
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
685-
| `options` | `options` | Options to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options | `any` | `{}` |
686-
| `pager` | `pager` | If `true`, show the pagination. | `boolean` | `false` |
687-
| `scrollbar` | `scrollbar` | If `true`, show the scrollbar. | `boolean` | `false` |
682+
| Property | Attribute | Description | Type | Default |
683+
| ----------- | ----------- | --------------------------------------------------------------------------------------------- | --------------- | ----------- |
684+
| `mode` | `mode` | The mode determines which platform styles to use. | `"ios" \| "md"` | `undefined` |
685+
| `options` | `options` | Options to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options | `any` | `{}` |
686+
| `pager` | `pager` | If `true`, show the pagination. | `boolean` | `false` |
687+
| `scrollbar` | `scrollbar` | If `true`, show the scrollbar. | `boolean` | `false` |
688688

689689

690690
## Events
@@ -735,7 +735,7 @@ Type: `Promise<number>`
735735

736736
Get the Swiper instance.
737737
Use this to access the full Swiper API.
738-
See https://idangero.us/swiper/api/ for all API options.
738+
See https://swiperjs.com/swiper-api for all API options.
739739

740740
#### Returns
741741

core/src/components/slides/slides.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Slides implements ComponentInterface {
2929

3030
/**
3131
* Options to pass to the swiper instance.
32-
* See http://idangero.us/swiper/api/ for valid options
32+
* See https://swiperjs.com/swiper-api for valid options
3333
*/
3434
@Prop() options: any = {}; // SwiperOptions; // TODO
3535

@@ -330,7 +330,7 @@ export class Slides implements ComponentInterface {
330330
/**
331331
* Get the Swiper instance.
332332
* Use this to access the full Swiper API.
333-
* See https://idangero.us/swiper/api/ for all API options.
333+
* See https://swiperjs.com/swiper-api for all API options.
334334
*/
335335
@Method()
336336
async getSwiper(): Promise<any> {

core/src/components/slides/usage/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Component } from '@angular/core';
2121
})
2222
export class SlideExample {
2323
// Optional parameters to pass to the swiper instance.
24-
// See http://idangero.us/swiper/api/ for valid options.
24+
// See https://swiperjs.com/swiper-api for valid options.
2525
slideOpts = {
2626
initialSlide: 1,
2727
speed: 400

core/src/components/slides/usage/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
var slides = document.querySelector('ion-slides');
2121

2222
// Optional parameters to pass to the swiper instance.
23-
// See http://idangero.us/swiper/api/ for valid options.
23+
// See https://swiperjs.com/swiper-api for valid options.
2424
slides.options = {
2525
initialSlide: 1,
2626
speed: 400

core/src/components/slides/usage/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import { IonSlides, IonSlide, IonContent } from '@ionic/react';
44

55
// Optional parameters to pass to the swiper instance.
6-
// See http://idangero.us/swiper/api/ for valid options.
6+
// See https://swiperjs.com/swiper-api for valid options.
77
const slideOpts = {
88
initialSlide: 1,
99
speed: 400

core/src/components/slides/usage/stencil.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component, h } from '@stencil/core';
77
})
88
export class SlidesExample {
99
// Optional parameters to pass to the swiper instance.
10-
// See http://idangero.us/swiper/api/ for valid options.
10+
// See https://swiperjs.com/swiper-api for valid options.
1111
private slideOpts = {
1212
initialSlide: 1,
1313
speed: 400

core/src/components/slides/usage/vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { defineComponent } from 'vue';
2121
export default defineComponent({
2222
components: { IonSlides, IonSlide },
2323
setup() {
24-
// Optional parameters to pass to the swiper instance. See http://idangero.us/swiper/api/ for valid options.
24+
// Optional parameters to pass to the swiper instance. See https://swiperjs.com/swiper-api for valid options.
2525
const slideOpts = {
2626
initialSlide: 1,
2727
speed: 400

0 commit comments

Comments
 (0)