Component Api

January 4, 2018 · View on GitHub

PropTypeDefaultNote
initialPagenumber0Index of initial page that should be selected.
keyboardDismissModeenum('none', "on-drag") on-dragDetermines whether the keyboard gets dismissed in response to a drag. - 'none' , drags do not dismiss the keyboard. - 'on-drag'(the default), the keyboard is dismissed when a drag begins.
onPageScrollfunction
onPageScrollStateChangedfunction
onPageSelectedfunction
horizontalScrollbooltrue
MethodParamsDefaultNote
setPageselectedPageIndex
setPageWithoutAnimationselectedPageIndex