Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

<Animation> abstracts tags and attributes common to Animations that animate a <LayoutFrame>.

<Animation name="" inherits="" virtual="" target="" targetKey="" parentKey="" childKey="" startDelay="" endDelay="" duration="" order="" smoothing="">
	<Scripts />
</Animation>


Attributes[]

name (xs:string) - See <LayoutFrame>.
inherits (xs:string) - See <LayoutFrame>.
virtual (xs:boolean) - See <LayoutFrame>.
target (xs:string?Optional. Could be nil.)
targetKey (xs:string?Optional. Could be nil.)
parentKey (xs:string?Optional. Could be nil.)
childKey (xs:string?Optional. Could be nil.)
startDelay (xs:float?Optional. Could be nil.) - Delay in seconds until the animation begins.
endDelay (xs:float?Optional. Could be nil.) - Delay in seconds after the animation finishes.
duration (xs:float) - Duration of the animation in seconds.
order (ui:AnimOrderType) - Whole number between 1 (default) and 100
smoothing (ui:ANIMSMOOTHTYPE) - NONE (default), IN, OUT, IN_OUT or OUT_IN

Child elements[]

<Scripts> contains widget script handlers such as <OnLoad> or <OnUpdate>.

Each widget script may enclose Lua code between the tags.
function (xs:string?Optional. Could be nil.) - Name of a function instead of Lua code between the XML tags.
method (xs:string?Optional. Could be nil.) - Name of a widget method instead of Lua code between the XML tags.
inherit (xs:string?Optional. Could be nil.) - Hooks (prepend, append) other scripts inherited through an XML virtual template.
intrinsicOrder (xs:string?Optional. Could be nil.) - Hooks (precall, postcall) other scripts when copied as an intrinsic frame.
autoEnableInput (xs:boolean?Optional. Could be nil.)

Patch changes[]

See also[]

References[]

 
  1. ^ 2013-02-26, UI.xsd, version 5.2.0.9767, near line 967, archived at Townlong-Yak
  2. ^ 2019-04-14, UI.xsd, version 3.1.0.9767, near line 820, archived at Townlong-Yak
Advertisement