Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 827 Bytes

PageControl.md

File metadata and controls

31 lines (19 loc) · 827 Bytes

PageControl

Indicates pages and allows selecting the current page.

<PageControl ... />

Overview

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.

Topics

Properties

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.

Platform notes

  • UIKit uses the UIKit implementation.

Source: lua/embedded/UIKit.lua:733 (UIKit.PageControl)