Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 735 Bytes

viewpager.md

File metadata and controls

19 lines (13 loc) · 735 Bytes

Component Api

Prop Type Default Note
initialPage number 0 Index of initial page that should be selected.
keyboardDismissMode enum('none', "on-drag")  on-drag Determines 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.
onPageScroll function
onPageScrollStateChanged function
onPageSelected function
horizontalScroll bool true
Method Params Default Note
setPage selectedPageIndex
setPageWithoutAnimation selectedPageIndex