Skip to content

Commit db599b3

Browse files
committed
docs(modal): remove event list from dragMove
1 parent 9d5d012 commit db599b3

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

docs/api/modal.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,7 @@ The `ionDragStart` event is emitted as soon as the user begins a dragging gestur
219219

220220
### Using `ionDragMove`
221221

222-
The `ionDragMove` event is emitted continuously while the user is actively dragging the modal. This event provides a `ModalDragEventDetail` [object](#modaldrageventdetail) containing real-time data:
223-
224-
- `currentY` and `deltaY`: Track the absolute position and the change in distance since the last frame, useful for calculating drag direction.
225-
- `velocityY`: Measures the speed of the drag, which can be used to trigger specific animations if a user "flicks" the modal.
226-
- `progress`: A normalized value between 0 and 1 representing how far the modal is open. This is ideal for dynamically adjusting the opacity of an overlay or scaling background content as the modal moves.
227-
- `predictedBreakpoint`: For sheet modals, this identifies which breakpoint the modal will snap to if released at that moment.
228-
229-
This event is essential for creating highly responsive UI updates that react instantly to the user's touch. For example, the `progress` value can be used to dynamically darken the backdrop's opacity as the modal is dragged upward.
222+
The `ionDragMove` event is emitted continuously while the user is actively dragging the modal. This event provides a `ModalDragEventDetail` [object](#modaldrageventdetail) containing real-time data, essential for creating highly responsive UI updates that react instantly to the user's touch. For example, the `progress` value can be used to dynamically darken the backdrop's opacity as the modal is dragged upward.
230223

231224
### Using `ionDragEnd`
232225

0 commit comments

Comments
 (0)