handleTouchEnd static method

void handleTouchEnd(
  1. RenderContext<LoadInstanceContext> context,
  2. int nodeId,
  3. int rootId,
  4. double x,
  5. double y,
)

Implementation

static void handleTouchEnd(
  RenderContext context,
  int nodeId,
  int rootId,
  double x,
  double y,
) {
  context.renderBridgeManager.sendGestureEvent(
    rootId,
    nodeId,
    kTouchEnd,
    {
      kKeyPageX: x,
      kKeyPageY: y,
    },
  );
}