Presents mutually exclusive content in native tabs.
<TabView ... />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 |
|---|---|---|---|
onChange |
function | optional | Callback invoked when the value changes. |
selected |
table | optional | Selected option, tab, or row identifier. |
style |
string | optional | Component-specific setting passed to the native control. |
tabs |
table | optional | Tab definitions containing a title and content. |
<TabView />
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:387 (AppKit.TabView)