Displays flippable pages to the user. The user can turn pages by sliding their finger across the screen, or by taping on the far left or right to go back or advance, respectively.
A URL to a PDF document. If this property is specified, the module will automatically determine the page counts and views. If you want more control over what is visible, utilize the "pageCount" and "loadPage" properties.
Controls how the pages look when they flip. Defaults to TRANSITION_FLIP Use the TRANSITION_ constants in Ti.PageFlip.
The number of seconds a complete transition should take. Defaults to 0.5. Note that the CURL transition does NOT support this property.
The width of the area around the edge where the user can change pages. This includes both tap-to-advance and grabbing the edge of the page. Defaults to 10%. To disable this feature, set it to 0. Note that the CURL transition does NOT support this property.
Indicates if two pages should be shown when the device is in its landscape orientation. Note that this does not influence the page numbering or counts.
Controls whether or not the built in gestures are enabled (tap, pan, or swipe to change pages).
Contains all of the views that you want the user to be able to flip through. Can be any combination of visible elements, such as Ti.UI.View or Ti.UI.Label, etc.
The currently visible page. Use the "changeCurrentPage" method to move the user to another page. This uses a 0-based index.
Returns the total number of pages.
Moves the user to the specified page at the 0-based index, optionally animating them there.
Inserts a page in to the view hierarchy before the specified 0-based index. The pages after this index will be renumbered to make room for the new page.
Inserts a page in to the view hierarchy after the specified 0-based index. The pages after this index will be renumbered to make room for the new page.
Appends a page to the end of the pages.
Removes the page at the specified 0-based index. The pages after the specified index will be renumbered to take up the space left by the removed page.
Fired when the user moves to another page or the device reorients. Handlers will receive one dictionary as their first argument. The following properties will be available:
Fired when a user starts to move to another page.
Fired when the user taps inside of the pagingMarginWidth. This does not prevent other views inside the page flip from receiving touches.