Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
请教一下 RN ScrollView 左右滑动事件如何拿到 key?
dlyt
·
Mar 7, 2017
· 3711 views
This topic created in 3353 days ago, the information mentioned may be changed or developed.
scrollView
key
请教
滑动
2 replies
•
2017-03-08 09:14:33 +08:00
1
ariesjia
Mar 7, 2017
你是指 index 么? 拿 offset 自己算吧
2
dlyt
OP
Mar 8, 2017
@
ariesjia
恩,我后来 e.nativeEvent.contentOffset.x 算了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5648 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms ·
UTC 07:14
·
PVG 15:14
·
LAX 00:14
·
JFK 03:14
♥ Do have faith in what you're doing.
❯