mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
65 lines
1.1 KiB
Markdown
65 lines
1.1 KiB
Markdown
---
|
|
nav-title: "gestures How-To"
|
|
title: "gestures"
|
|
environment: nativescript
|
|
description: "Examples for using gestures"
|
|
previous_url: /ApiReference/ui/gestures/HOW-TO
|
|
---
|
|
# Gestures
|
|
Detecting user gestures requires the "ui/gestures" module.
|
|
{%snippet gestures-require%}
|
|
|
|
### Double Tap
|
|
{%snippet gestures-double-tap%}
|
|
|
|
### Double Tap
|
|
{%snippet gestures-double-tap-alt%}
|
|
|
|
### Long Press
|
|
{%snippet gestures-long-press%}
|
|
|
|
### Long Press
|
|
{%snippet gestures-long-press-alt%}
|
|
|
|
### Pan
|
|
{%snippet gestures-pan%}
|
|
|
|
### Pan
|
|
{%snippet gestures-pan-alt%}
|
|
|
|
### Pinch
|
|
{%snippet gestures-pan-pinch%}
|
|
|
|
### Pinch
|
|
{%snippet gestures-pan-pinch-alt%}
|
|
|
|
### Rotation
|
|
{%snippet gestures-rotation%}
|
|
|
|
### Rotation
|
|
{%snippet gestures-rotation-alt%}
|
|
|
|
### Swipe
|
|
{%snippet gestures-swipe%}
|
|
|
|
### Swipe
|
|
{%snippet gestures-swipe-alt%}
|
|
|
|
### Tap
|
|
{%snippet gestures-tap%}
|
|
|
|
### Tap
|
|
{%snippet gestures-tap-alt%}
|
|
|
|
### Stop observing
|
|
{%snippet gestures-stop-observe%}
|
|
|
|
### Multiple gestures
|
|
{%snippet gestures-multiple%}
|
|
|
|
### Multiple gestures as comma separated string
|
|
{%snippet gestures-string%}
|
|
|
|
### Events combined with gestures as comma separated string
|
|
{%snippet gestures-events-string%}
|