setOnPageSelected method

  1. @ControllerProps(NodeProps.kOnPageSelected)
void setOnPageSelected(
  1. ViewPagerRenderViewModel renderViewModel,
  2. bool enable
)

Implementation

@ControllerProps(NodeProps.kOnPageSelected)
void setOnPageSelected(ViewPagerRenderViewModel renderViewModel, bool enable) {
  renderViewModel.onPageSelectedEventEnable = enable;
}