WoW:XML/Script: Difference between revisions

Line 12: Line 12:
== Attributes ==
== Attributes ==
* function {{attrtype|string}} (optional)
* function {{attrtype|string}} (optional)
*: named function to call using a simple global name. Can be used instead oof inline script payload text.
*: named function to call using a simple global name. Can be used instead of in payload with inline script text.
* method {{attrtype|string}} (optional)
* method {{attrtype|string}} (optional)
*: named method to call using this frame's Lua table or 'mixin' name of function to call, in lieu of inline text or 'function'.
*: named method to call using this frame's Lua table or 'mixin' name of function to call, in lieu of inline text or 'function'.