From 2003c2d709b1fabcdcbf49cecee6749bb479683c Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 27 Feb 2020 15:04:33 -0500 Subject: [PATCH] add blurOnStart example --- src/pages/utilities/gestures.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/utilities/gestures.md b/src/pages/utilities/gestures.md index d211ef99a46..4161a0c364d 100755 --- a/src/pages/utilities/gestures.md +++ b/src/pages/utilities/gestures.md @@ -341,6 +341,7 @@ See our guide on implementing gesture animations: [Gesture Animations with Ionic | passive | `boolean \| undefined` | `true` | If true, this will indicate that the gesture will never call `preventDefault()`. This can be used to improve scrolling performance. See [Passive Listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners) for more information. | | maxAngle | `number \| undefined` | `40` | The maximum angle to allow when detecting a gesture. | | threshold | `number \| undefined` | `10` | Defines how much a pointer must move before the gesture kicks in. | +| blurOnStart | `boolean \| undefined` | `undefined` | If true, the gesture will blur any active selectable element such as an input or a textarea before firing the `onStart` callback. | | canStart | `GestureCallback \| undefined` | `undefined` | A callback that returns true if a gesture is allowed to start. | | onWillStart | `(detail: GestureDetail) => Promise` | `undefined` | A callback that is fires when a gesture is about to start. This is fired after `canStart` but before `onStart`. | | onStart | `GestureCallback \| undefined` | `undefined` | A callback that fires when a gesture has started. |