This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
react-native-gesture-handler
一个提供用于处理复杂手势 API 的库。
Android
iOS
Web
Included in Expo Go
react-native-gesture-handler 是一个用于处理复杂手势的库。摘自其 README:
这个库提供了一个 API,用于暴露移动平台特定的原生触摸与手势处理和识别能力。它允许定义在原生线程中 100% 运行的复杂手势处理和识别逻辑,因此是确定性的。
安装
Terminal
- npx expo install react-native-gesture-handlerIf you are installing this in an existing React Native app, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.
了解更多
访问官方文档
获取有关 API 及其使用方法的完整信息。