Object alias
Alias is a global attribute you can place on any object within the wire. Once the attribute of alias is added, the value of the alias becomes the “nickname” of the object it is placed on. This nickname or alias can now be used to call the object from within an action.
Aliases are global, so they must all be unique. However, nested wires loaded in an <include> tag utilize a localized alias namespace. When referencing an alias from within an included wire, if the alias is not found, the parent wire is checked until the top level wire is reached.
Requirements
An alias can be used on any target-able objects.
Sample code
<panel name="panel" alias="PANEL1" width="100%" height="100%"> </panel>
Loading...
There was a problem loading this topic