onKeyboardWillShow method

void onKeyboardWillShow(
  1. int height
)

Implementation

void onKeyboardWillShow(int height) {
  if (keyboardWillShowEventEnable) {
    var paramsMap = VoltronMap();
    paramsMap.push<int>("keyboardHeight", height);
    context.renderBridgeManager.sendComponentEvent(
      rootId,
      id,
      TextInputController.kEventOnKeyboardWillShow,
      paramsMap,
    );
  }
}