XML/Scripts

<Scripts> (child of , or ) contains widget script handlers such as <OnLoad> or <OnUpdate>. 
 <Scripts>
 	<OnLoad function="" method="" inherit="" intrisictOrder="" autoEnableInput="" />	
 	<OnUpdate>
 		-- Lua code
 	<OnUpdate>
 	<!-- See widget script handlers for the full list -->
 </Scripts>
== Child elements ==
Each widget script may enclose Lua code between the tags.
:function () - Name of a function instead of Lua code between the XML tags.
:method () - Name of a widget method instead of Lua code between the XML tags.
:inherit () - Hooks (prepend, append) other scripts inherited through an XML virtual template.
:intrinsicOrder () - Hooks (precall, postcall) other scripts when copied as an intrinsic frame.
:autoEnableInput ()<includeonly></onlyinclude>
 ui:SCRIPTINHERITTYPE
Value 	Description
none 	Ignore any inherited scripts.
prepend	Prepend inherited scripts before this one.
append 	Append inherited scripts after this one.
 ui:SCRIPTINTRINSICTORDERTYPE
Value 	Description
none 	Causes an intrinsic frame's script to behave like a normal one.
precall 	Causes an intrinsic frame's script to irrevocably fire before the normal one.
postcall	Causes an intrinsic frame's script to irrevocably fire after the normal one.
== Patch changes ==
* 
* 
* 
* 
== See also ==
* 
== References ==