From 314856a4e3ccf02205b86d8dd46bed76fdbd7102 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 25 Oct 2023 07:01:16 +0300 Subject: [PATCH] Doc on animate scroll --- .../lib/animateonscroll/AnimateOnScroll.d.ts | 2 +- doc/animateonscroll/BasicDoc.vue | 42 +++++++++++++---- doc/animateonscroll/OnceDoc.vue | 46 ------------------- doc/common/apidoc/index.json | 4 +- pages/animateonscroll/index.vue | 8 +--- 5 files changed, 38 insertions(+), 64 deletions(-) delete mode 100644 doc/animateonscroll/OnceDoc.vue diff --git a/components/lib/animateonscroll/AnimateOnScroll.d.ts b/components/lib/animateonscroll/AnimateOnScroll.d.ts index 1592a66fd..e472b2312 100644 --- a/components/lib/animateonscroll/AnimateOnScroll.d.ts +++ b/components/lib/animateonscroll/AnimateOnScroll.d.ts @@ -51,7 +51,7 @@ export interface AnimateOnScrollDirectivePassThroughOptions { */ export interface AnimateOnScrollDirectiveModifiers { /** - * Whether the animation will be repeated + * Whether the scroll event listener should be removed after initial run. * @defaultValue true */ once?: boolean | undefined; diff --git a/doc/animateonscroll/BasicDoc.vue b/doc/animateonscroll/BasicDoc.vue index c3b8e5892..514bfb276 100644 --- a/doc/animateonscroll/BasicDoc.vue +++ b/doc/animateonscroll/BasicDoc.vue @@ -1,17 +1,21 @@