setScrollEventThrottle method

  1. @ControllerProps(NodeProps.kScrollEventThrottle)
void setScrollEventThrottle(
  1. ScrollViewRenderViewModel renderViewModel,
  2. int scrollEventThrottle
)

Implementation

@ControllerProps(NodeProps.kScrollEventThrottle)
void setScrollEventThrottle(
  ScrollViewRenderViewModel renderViewModel,
  int scrollEventThrottle,
) {
  renderViewModel.scrollGestureDispatcher.scrollEventThrottle = scrollEventThrottle;
}