mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Updated docs for next
This commit is contained in:
@@ -14,7 +14,7 @@ native event object:</p><div class="prism language-javascript">onPanResponderMov
|
||||
onMoveShouldSetPanResponderCapture<span class="token punctuation">:</span> <span class="token punctuation">(</span>evt<span class="token punctuation">,</span> gestureState<span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">></span> <span class="token boolean">true</span><span class="token punctuation">,</span>
|
||||
|
||||
onPanResponderGrant<span class="token punctuation">:</span> <span class="token punctuation">(</span>evt<span class="token punctuation">,</span> gestureState<span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">></span> <span class="token punctuation">{</span>
|
||||
<span class="token comment" spellcheck="true"> // The guesture has started. Show visual feedback so the user knows
|
||||
<span class="token comment" spellcheck="true"> // The gesture has started. Show visual feedback so the user knows
|
||||
</span> <span class="token comment" spellcheck="true"> // what is happening!
|
||||
</span>
|
||||
<span class="token comment" spellcheck="true"> // gestureState.d{x,y} will be set to zero now
|
||||
|
||||
Reference in New Issue
Block a user