598 B
598 B
Container
Functions
| Method | Returns | Description |
|---|---|---|
| Container:loadXML | Container | Loads UI from XML string |
Container:loadXML(self, content, scope?)
Loads and creates UI elements from XML content local xml = [[
]] container:loadXML(xml)Parameters
selfContainerThe container to load intocontentstringThe XML content to parsescope(optional)tableOptional scope for variable resolution
Returns
ContainerselfThe container instance
Usage