Static
focusSets the given child to visible and hides all others.
This is meant to be used for things like: tab-bar-content. Think of multiple children all cover the same space. Only one is visible and when a user selects a tab this function will make the tab-content visible.
Generated using TypeDoc
All children will simply have the same size as the parent.
Two main design purposes here:
Multiple glass panes One can stack many layers ontop of each other and they can share the screen.
Tabbar Panel Think of a tab bar with multiple panels containing the content of the tabs. Using
LUIStackLayout.focusChild
we can switch from one content to another (by making use of the visibility).