Content
alignment: PageAlignment
设置内部的页面的和组件容器的对齐方式,可以是”start“,”center“或者”end“。默认是设置”start“。
animateCurrentPageUpdate: boolean BETA
决定组件是否在页面改变的时候产生动画效果。默认是true
contentWidth: PageContentDimension | number
控制组件内的页面的宽度,可以设定”auto“或者”stretch“或者一个具体的数值。默认是设置为"stretch"
currentPage: number
当前页面的索引。默认是0
defaultEffect: PageEffect
选择一个预定义好的切换的效果,"none", "cube", "coverflow", "wheel", 或者 "pile"。默认设置是"none"
gap: number
用来内部页面之间的间隔,默认是10,不能是负数
momentum: boolean
当启动这个设置的时候,能一次翻过多个页面
Last updated
Was this helpful?