setOnError method

  1. @ControllerProps(NodeProps.kOnError)
void setOnError(
  1. WebViewViewModel renderViewModel,
  2. bool flag
)

Implementation

@ControllerProps(NodeProps.kOnError)
void setOnError(WebViewViewModel renderViewModel, bool flag) {
  renderViewModel.onErrorEventEnable = flag;
}