NavigationStack
Manages a stack of screens and navigation transitions.
<NavigationStack ... />
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 |
|---|---|---|---|
content |
value | optional | Rendered child content or the control’s text value. |
path |
table | optional | A ui.navigation.Path value path. |
destinations |
table | optional | Map path types to destination view builders. |
toolbar |
table | optional | ToolbarItem records for the root view, placed as on a Page. |
title |
value | optional | Component-specific setting passed to the native control. |
Platform notes
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:2526 (AppKit.NavigationStack)