Skip to content

Commit ec01f80

Browse files
authored
docs(infinite-scroll): use the correct custom event (#2995)
1 parent bc06123 commit ec01f80

File tree

6 files changed

+8
-8
lines changed
  • static/usage
    • v6/infinite-scroll
    • v7/infinite-scroll

6 files changed

+8
-8
lines changed

static/usage/v6/infinite-scroll/basic/vue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
IonAvatar,
2626
IonImg,
2727
IonLabel,
28-
IonInfiniteCustomEvent,
28+
InfiniteScrollCustomEvent,
2929
} from '@ionic/vue';
3030
import { defineComponent, reactive } from 'vue';
3131
@@ -51,7 +51,7 @@
5151
}
5252
};
5353
54-
const ionInfinite = (ev: IonInfiniteCustomEvent) => {
54+
const ionInfinite = (ev: InfiniteScrollCustomEvent) => {
5555
generateItems();
5656
setTimeout(() => ev.target.complete(), 500);
5757
};

static/usage/v6/infinite-scroll/custom-infinite-scroll-content/vue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
IonAvatar,
9292
IonImg,
9393
IonLabel,
94-
IonInfiniteCustomEvent,
94+
InfiniteScrollCustomEvent,
9595
} from '@ionic/vue';
9696
import { defineComponent, reactive } from 'vue';
9797

static/usage/v6/infinite-scroll/infinite-scroll-content/vue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
IonAvatar,
2929
IonImg,
3030
IonLabel,
31-
IonInfiniteCustomEvent,
31+
InfiniteScrollCustomEvent,
3232
} from '@ionic/vue';
3333
import { defineComponent, reactive } from 'vue';
3434

static/usage/v7/infinite-scroll/basic/vue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
IonAvatar,
2626
IonImg,
2727
IonLabel,
28-
IonInfiniteCustomEvent,
28+
InfiniteScrollCustomEvent,
2929
} from '@ionic/vue';
3030
import { defineComponent, reactive } from 'vue';
3131
@@ -51,7 +51,7 @@
5151
}
5252
};
5353
54-
const ionInfinite = (ev: IonInfiniteCustomEvent) => {
54+
const ionInfinite = (ev: InfiniteScrollCustomEvent) => {
5555
generateItems();
5656
setTimeout(() => ev.target.complete(), 500);
5757
};

static/usage/v7/infinite-scroll/custom-infinite-scroll-content/vue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
IonAvatar,
9292
IonImg,
9393
IonLabel,
94-
IonInfiniteCustomEvent,
94+
InfiniteScrollCustomEvent,
9595
} from '@ionic/vue';
9696
import { defineComponent, reactive } from 'vue';
9797

static/usage/v7/infinite-scroll/infinite-scroll-content/vue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
IonAvatar,
2929
IonImg,
3030
IonLabel,
31-
IonInfiniteCustomEvent,
31+
InfiniteScrollCustomEvent,
3232
} from '@ionic/vue';
3333
import { defineComponent, reactive } from 'vue';
3434

0 commit comments

Comments
 (0)