WoW:XML/Script: Difference between revisions

Line 11: Line 11:


== Attributes ==
== Attributes ==
* function {{attrtype|string}} (optional) - global name of function to call, in lieu of inline text.
* function {{attrtype|string}} (optional)
* method {{attrtype|string}} (optional) - this frame Lua object or 'mixin' name of function to call, in lieu of inline text.
*:global name of function to call, in lieu of inline text.
* inherit ([[XML types#SCRIPTINHERITTYPE|SCRIPTINHERITTYPE]]) (optional) - order to run this script relative to any inherited scripts for this event. Default is 'none'.
* method {{attrtype|string}} (optional)
* intrinsicOrder ([[XML types#SCRIPTINTRINSICORDERTYPE|SCRIPTINTRINSICORDERTYPE]]) (optional) - order to run this script relative to any implementation scripts for this event. Used only in an intrinsic definition. Default is 'none'.  
*:this frame Lua object or 'mixin' name of function to call, in lieu of inline text.
* autoEnableInput {{attrtype|boolean}} (optional) - Unknown. Is set 'false' on a few mouse events for ScrollingMessageFrame and TextStatusBar and seems to have something to do with not activating text box under certain circumstances. Default is 'true'.
* inherit ([[XML types#SCRIPTINHERITTYPE|SCRIPTINHERITTYPE]]) (optional)
*: order to run this script relative to any inherited scripts for this event. Default is 'none'.
* intrinsicOrder ([[XML types#SCRIPTINTRINSICORDERTYPE|SCRIPTINTRINSICORDERTYPE]]) (optional)
*: order to run this script relative to any implementation scripts for this event. Used only in an intrinsic definition. Default is 'none'.  
* autoEnableInput {{attrtype|boolean}} (optional)
*: Unknown. Is set 'false' on a few mouse events for ScrollingMessageFrame and TextStatusBar and seems to have something to do with not activating text box under certain circumstances. Default is 'true'.


== Payload ==
== Payload ==