From bc260931d7f1669767f5d18243eea826edb1bf9b Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Tue, 13 Jun 2023 10:26:51 -0700 Subject: [PATCH] docs(infinite-scroll): use the correct custom event --- static/usage/v6/infinite-scroll/basic/vue.md | 4 ++-- .../v6/infinite-scroll/custom-infinite-scroll-content/vue.md | 2 +- .../usage/v6/infinite-scroll/infinite-scroll-content/vue.md | 2 +- static/usage/v7/infinite-scroll/basic/vue.md | 4 ++-- .../v7/infinite-scroll/custom-infinite-scroll-content/vue.md | 2 +- .../usage/v7/infinite-scroll/infinite-scroll-content/vue.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/usage/v6/infinite-scroll/basic/vue.md b/static/usage/v6/infinite-scroll/basic/vue.md index 856c421b23b..dc7a7c45f46 100644 --- a/static/usage/v6/infinite-scroll/basic/vue.md +++ b/static/usage/v6/infinite-scroll/basic/vue.md @@ -25,7 +25,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue'; @@ -51,7 +51,7 @@ } }; - const ionInfinite = (ev: IonInfiniteCustomEvent) => { + const ionInfinite = (ev: InfiniteScrollCustomEvent) => { generateItems(); setTimeout(() => ev.target.complete(), 500); }; diff --git a/static/usage/v6/infinite-scroll/custom-infinite-scroll-content/vue.md b/static/usage/v6/infinite-scroll/custom-infinite-scroll-content/vue.md index a86fa6ed062..85954295280 100644 --- a/static/usage/v6/infinite-scroll/custom-infinite-scroll-content/vue.md +++ b/static/usage/v6/infinite-scroll/custom-infinite-scroll-content/vue.md @@ -91,7 +91,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue'; diff --git a/static/usage/v6/infinite-scroll/infinite-scroll-content/vue.md b/static/usage/v6/infinite-scroll/infinite-scroll-content/vue.md index 9b7d22436ee..f00b47e1fb8 100644 --- a/static/usage/v6/infinite-scroll/infinite-scroll-content/vue.md +++ b/static/usage/v6/infinite-scroll/infinite-scroll-content/vue.md @@ -28,7 +28,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue'; diff --git a/static/usage/v7/infinite-scroll/basic/vue.md b/static/usage/v7/infinite-scroll/basic/vue.md index 856c421b23b..dc7a7c45f46 100644 --- a/static/usage/v7/infinite-scroll/basic/vue.md +++ b/static/usage/v7/infinite-scroll/basic/vue.md @@ -25,7 +25,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue'; @@ -51,7 +51,7 @@ } }; - const ionInfinite = (ev: IonInfiniteCustomEvent) => { + const ionInfinite = (ev: InfiniteScrollCustomEvent) => { generateItems(); setTimeout(() => ev.target.complete(), 500); }; diff --git a/static/usage/v7/infinite-scroll/custom-infinite-scroll-content/vue.md b/static/usage/v7/infinite-scroll/custom-infinite-scroll-content/vue.md index a86fa6ed062..85954295280 100644 --- a/static/usage/v7/infinite-scroll/custom-infinite-scroll-content/vue.md +++ b/static/usage/v7/infinite-scroll/custom-infinite-scroll-content/vue.md @@ -91,7 +91,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue'; diff --git a/static/usage/v7/infinite-scroll/infinite-scroll-content/vue.md b/static/usage/v7/infinite-scroll/infinite-scroll-content/vue.md index 9b7d22436ee..f00b47e1fb8 100644 --- a/static/usage/v7/infinite-scroll/infinite-scroll-content/vue.md +++ b/static/usage/v7/infinite-scroll/infinite-scroll-content/vue.md @@ -28,7 +28,7 @@ IonAvatar, IonImg, IonLabel, - IonInfiniteCustomEvent, + InfiniteScrollCustomEvent, } from '@ionic/vue'; import { defineComponent, reactive } from 'vue';