mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Native view manager event types exposed to JS via view config
Differential Revision: D5814210 fbshipit-source-id: 41291f0d6b39af77f66173f6a699d88f9f4ccc74
This commit is contained in:
committed by
Facebook Github Bot
parent
e9780bdc0f
commit
75c94a8907
@@ -68,6 +68,15 @@ import com.facebook.react.uimanager.events.TouchEventType;
|
||||
"onTouchEnd",
|
||||
"captured",
|
||||
"onTouchEndCapture")))
|
||||
.put(
|
||||
TouchEventType.CANCEL.getJSEventName(),
|
||||
MapBuilder.of(
|
||||
"phasedRegistrationNames",
|
||||
MapBuilder.of(
|
||||
"bubbled",
|
||||
"onTouchCancel",
|
||||
"captured",
|
||||
"onTouchCancelCapture")))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user