Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 837 Bytes

Menu.md

File metadata and controls

37 lines (23 loc) · 837 Bytes

Menu

Presents a native menu of related commands.

<Menu ... />

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
children table optional Component-specific setting passed to the native control.
items table optional Component-specific setting passed to the native control.
title value optional Component-specific setting passed to the native control.

Example

<Menu />

Platform notes

  • UIKit uses the UIKit implementation.

Source: lua/embedded/UIKit.lua:850 (UIKit.Menu)