mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Needed to have a nice structured cookbook dir in the docs Includes: Move the data-module tests under the data dir Move the frame tests under the ui dir Rename the dialog.md file to dialogs.md Fix the web-view title Add previous_url attributes to each article for SEO Rename the style dir to styling to match the reference Fix the frame-tests path
64 lines
1.2 KiB
Markdown
64 lines
1.2 KiB
Markdown
---
|
|
nav-title: "gestures How-To"
|
|
title: "gestures"
|
|
description: "Examples for using gestures"
|
|
previous_url: /ApiReference/ui/gestures/HOW-TO
|
|
---
|
|
# Gestures
|
|
Detecting user gestures requires the "ui/gestures" module.
|
|
<snippet id='gestures-require'/>
|
|
|
|
### Double Tap
|
|
<snippet id='gestures-double-tap'/>
|
|
|
|
### Double Tap
|
|
<snippet id='gestures-double-tap-alt'/>
|
|
|
|
### Long Press
|
|
<snippet id='gestures-long-press'/>
|
|
|
|
### Long Press
|
|
<snippet id='gestures-long-press-alt'/>
|
|
|
|
### Pan
|
|
<snippet id='gestures-pan'/>
|
|
|
|
### Pan
|
|
<snippet id='gestures-pan-alt'/>
|
|
|
|
### Pinch
|
|
<snippet id='gestures-pan-pinch'/>
|
|
|
|
### Pinch
|
|
<snippet id='gestures-pan-pinch-alt'/>
|
|
|
|
### Rotation
|
|
<snippet id='gestures-rotation'/>
|
|
|
|
### Rotation
|
|
<snippet id='gestures-rotation-alt'/>
|
|
|
|
### Swipe
|
|
<snippet id='gestures-swipe'/>
|
|
|
|
### Swipe
|
|
<snippet id='gestures-swipe-alt'/>
|
|
|
|
### Tap
|
|
<snippet id='gestures-tap'/>
|
|
|
|
### Tap
|
|
<snippet id='gestures-tap-alt'/>
|
|
|
|
### Stop observing
|
|
<snippet id='gestures-stop-observe'/>
|
|
|
|
### Multiple gestures
|
|
<snippet id='gestures-multiple'/>
|
|
|
|
### Multiple gestures as comma separated string
|
|
<snippet id='gestures-string'/>
|
|
|
|
### Events combined with gestures as comma separated string
|
|
<snippet id='gestures-events-string'/>
|