WoW:XML/KeyValue: Difference between revisions

m
no edit summary
(Created page with "{{uixmltype}} The WoW XML KeyValue elements add an arbitrary variable to a runtime Lua object. This mechanism is very akin to the Attribute...")
 
mNo edit summary
Line 1: Line 1:
{{uixmltypeprop}}
{{uixmltypeprop|KeyValue}}


A [[XML/KeyValue|KeyValue]] element adds an arbitrary variable to the Lua runtime UI object. This mechanism is similar to the [[XML/Attribute|Attribute]] element, and to the [[XML/parentKey|parentKey]], [[XML/relativeKey|relativeKey]], and [[XML/targetKey|targetKey]] XML attributes, as these all add arbitrary member variables to Lua objects from [[FrameXML]]. See also [[XML/Attribute|Attribute]].
A [[XML/KeyValue|KeyValue]] element adds an arbitrary variable to the Lua runtime UI object. This mechanism is similar to the [[XML/Attribute|Attribute]] element, and to the [[XML/parentKey|parentKey]], [[XML/relativeKey|relativeKey]], and [[XML/targetKey|targetKey]] XML attributes, as these all add arbitrary member variables to Lua objects from [[FrameXML]]. See also [[XML/Attribute|Attribute]].