Skip to content

PageListOptions

Property Type Description
onPageChange? (index) => void Called when scrolling makes another page the current one.
renderMargin? string Pages within this distance of the visible area are rendered, as a CSS margin string. Pages further away are replaced by empty placeholders. Defaults to “100% 0px” (one viewport above and below).