Indicates pages and allows selecting the current page.
<PageControl ... />This component is backed by the platform control or container. Prefer its XML tag in an .etlua template; keep view-tree construction out of controllers.
| Name | Type | Required | Description |
|---|---|---|---|
currentPage |
number | optional | Zero-based index of the currently visible page. |
numberOfPages |
number | optional | Component-specific setting passed to the native control. |
pages |
table | optional | Page data used to construct the page control. |
- UIKit uses the UIKit implementation.
Source: lua/embedded/UIKit.lua:733 (UIKit.PageControl)