mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
Accessibility Escape
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/22047 Differential Revision: D13146179 Pulled By: cpojer fbshipit-source-id: b8a089114a5deafee47dd482e484d413c8c39137
This commit is contained in:
committed by
Facebook Github Bot
parent
900f2df351
commit
ee7c702308
@@ -34,6 +34,7 @@ ReactNativeViewAttributes.UIView = {
|
||||
onAccessibilityAction: true,
|
||||
onAccessibilityTap: true,
|
||||
onMagicTap: true,
|
||||
onAccessibilityEscape: true,
|
||||
collapsable: true,
|
||||
needsOffscreenAlphaCompositing: true,
|
||||
style: ReactNativeStyleAttributes,
|
||||
|
||||
@@ -62,6 +62,14 @@ type DirectEventProps = $ReadOnly<{|
|
||||
* See http://facebook.github.io/react-native/docs/view.html#onmagictap
|
||||
*/
|
||||
onMagicTap?: ?() => void,
|
||||
|
||||
/**
|
||||
* When `accessible` is `true`, the system will invoke this function when the
|
||||
* user performs the escape gesture.
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/view.html#onaccessibilityescape
|
||||
*/
|
||||
onAccessibilityEscape?: ?Function,
|
||||
|}>;
|
||||
|
||||
type TouchEventProps = $ReadOnly<{|
|
||||
|
||||
Reference in New Issue
Block a user