setOnFocus method

  1. @ControllerProps(NodeProps.kOnFocus)
void setOnFocus(
  1. TextInputRenderViewModel renderViewModel,
  2. bool change
)

Implementation

@ControllerProps(NodeProps.kOnFocus)
void setOnFocus(TextInputRenderViewModel renderViewModel, bool change) {
  renderViewModel.dispatcher.focusEventEnable = change;
}