Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Inherited by: none, Inherits: none, Defined in: Frame
Attributes allow XML to define Lua variables for the runtime UI object representing the element. Defining an attribute will actually set a member of the elements object table of the defined type. UI the default WoW UI FrameXML Attributes are often used to define security attributes as setting those attributes before the frame is available, insures that the element is secured before any other scripts can access it.
<Frame name="MyFrame"> <Attributes> <Attribute name="myvar" type="number" value="0"/> </Attributes> </Frame>
This example will set a variable named 'myvar' with a number value of '0', when the frame is created.