Native view manager event types exposed to JS via view config

Differential Revision: D5814210

fbshipit-source-id: 41291f0d6b39af77f66173f6a699d88f9f4ccc74
This commit is contained in:
Brian Vaughn
2017-09-14 18:17:17 -07:00
committed by Facebook Github Bot
parent e9780bdc0f
commit 75c94a8907
9 changed files with 121 additions and 624 deletions
@@ -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();
}