Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.07 KB

DisclosureGroup.md

File metadata and controls

39 lines (25 loc) · 1.07 KB

DisclosureGroup

Shows a header that expands or collapses its child content.

<DisclosureGroup ... />

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
alignment value optional Component-specific setting passed to the native control.
expanded boolean optional Component-specific setting passed to the native control.
header table optional Section or group heading.
label value optional Component-specific setting passed to the native control.
spacing number optional Component-specific setting passed to the native control.

Example

<DisclosureGroup />

Platform notes

  • AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.

Source: lua/embedded/AppKit.lua:559 (AppKit.DisclosureGroup)