From 42dfdaec363a1d76605f9da2ad4f3c03538f7b42 Mon Sep 17 00:00:00 2001 From: Gocho Mugo Date: Mon, 9 Dec 2024 05:43:15 +0300 Subject: [PATCH 1/4] Update gestures.md Are we talking about gestures or animations? --- docs/utilities/gestures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utilities/gestures.md b/docs/utilities/gestures.md index 60d16272454..499bfd30e39 100644 --- a/docs/utilities/gestures.md +++ b/docs/utilities/gestures.md @@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem'; ## Overview -Ionic Gestures is a utility that allows developers to build custom gestures and interactions for their application in a platform agnostic manner. Developers do not need to be using a particular framework such as React or Angular, nor do they even need to be building an Ionic app! As long as developers have access to v5.0 or greater of Ionic Framework, they will have access to all of Ionic Animations. +Ionic Gestures is a utility that allows developers to build custom gestures and interactions for their application in a platform agnostic manner. Developers do not need to be using a particular framework such as React or Angular, nor do they even need to be building an Ionic app! As long as developers have access to v5.0 or greater of Ionic Framework, they will have access to all of Ionic Gestures. Building complex gestures can be time consuming. Other libraries that provide custom gestures are often times too heavy handed and end up capturing mouse or touch events and not letting them propagate. This can result in other elements no longer being scrollable or clickable. From 955b53aa8ed374b0ad61756178f7f7add3a05a16 Mon Sep 17 00:00:00 2001 From: Gocho Mugo Date: Mon, 9 Dec 2024 05:46:37 +0300 Subject: [PATCH 2/4] Update gestures.md --- docs/utilities/gestures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utilities/gestures.md b/docs/utilities/gestures.md index 499bfd30e39..d79942d4d8b 100644 --- a/docs/utilities/gestures.md +++ b/docs/utilities/gestures.md @@ -71,7 +71,7 @@ const gesture: Gesture = createGesture({ -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `AnimationController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. From e2976ae9306e031c29f95d2c3ed1f2edfb964ec4 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:33:29 -0500 Subject: [PATCH 3/4] docs(gestures): update Animation references to Gesture --- docs/utilities/gestures.md | 2 +- versioned_docs/version-v7/utilities/gestures.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/utilities/gestures.md b/docs/utilities/gestures.md index d79942d4d8b..c635ddb5944 100644 --- a/docs/utilities/gestures.md +++ b/docs/utilities/gestures.md @@ -95,7 +95,7 @@ constructor(private gestureCtrl: GestureController) { -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `AnimationController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. diff --git a/versioned_docs/version-v7/utilities/gestures.md b/versioned_docs/version-v7/utilities/gestures.md index 875876b3b56..c466fbe5f9a 100644 --- a/versioned_docs/version-v7/utilities/gestures.md +++ b/versioned_docs/version-v7/utilities/gestures.md @@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem'; ## Overview -Ionic Gestures is a utility that allows developers to build custom gestures and interactions for their application in a platform agnostic manner. Developers do not need to be using a particular framework such as React or Angular, nor do they even need to be building an Ionic app! As long as developers have access to v5.0 or greater of Ionic Framework, they will have access to all of Ionic Animations. +Ionic Gestures is a utility that allows developers to build custom gestures and interactions for their application in a platform agnostic manner. Developers do not need to be using a particular framework such as React or Angular, nor do they even need to be building an Ionic app! As long as developers have access to v5.0 or greater of Ionic Framework, they will have access to all of Ionic Gestures. Building complex gestures can be time consuming. Other libraries that provide custom gestures are often times too heavy handed and end up capturing mouse or touch events and not letting them propagate. This can result in other elements no longer being scrollable or clickable. @@ -71,7 +71,7 @@ const gesture: Gesture = createGesture({ -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `AnimationController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. @@ -95,7 +95,7 @@ constructor(private gestureCtrl: GestureController) { -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `AnimationController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. From 107171924fa2f1c3980e82f832de03615e6bcb50 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:45:18 -0500 Subject: [PATCH 4/4] docs(gestures): update Animation references to Gesture --- docs/utilities/gestures.md | 4 ++-- versioned_docs/version-v7/utilities/gestures.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/utilities/gestures.md b/docs/utilities/gestures.md index c635ddb5944..6d4d0e0b079 100644 --- a/docs/utilities/gestures.md +++ b/docs/utilities/gestures.md @@ -71,7 +71,7 @@ const gesture: Gesture = createGesture({ -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Gestures can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. @@ -95,7 +95,7 @@ constructor(private gestureCtrl: GestureController) { -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Gestures can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. diff --git a/versioned_docs/version-v7/utilities/gestures.md b/versioned_docs/version-v7/utilities/gestures.md index c466fbe5f9a..b7d7055e77f 100644 --- a/versioned_docs/version-v7/utilities/gestures.md +++ b/versioned_docs/version-v7/utilities/gestures.md @@ -71,7 +71,7 @@ const gesture: Gesture = createGesture({ -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Gestures can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call. @@ -95,7 +95,7 @@ constructor(private gestureCtrl: GestureController) { -Developers using Angular should install the latest version of `@ionic/angular`. Animations can be created via the `GestureController` dependency injection. +Developers using Angular should install the latest version of `@ionic/angular`. Gestures can be created via the `GestureController` dependency injection. By default, gesture callbacks do not run inside of NgZone. Developers can either set the `runInsideAngularZone` parameter to `true` when creating a gesture, or they can wrap their callbacks in an `NgZone.run()` call.