page.originX < number>
Defines how pages will be horizontally snapped to. The origin is defined as a number between 0 and 1, where 0 is the left-edge and 1 the right-edge. The default value is 0.5, the center.
译:定义如何将页面水平对齐到。起源是定义为介于0和1,其中0是左边缘和右边缘的1。默认值为0.5,该中心。
page = new PageComponent
page.originX = 0