Dojo Wipe In Effect (Simple actions)
Causes a target control to be wiped in.
Defined in
Extension LibraryType of simple action
Dojo Effects (Client)Syntax
<xe:dojofxWipeIn node="target" duration="ms" loaded="true|false" easing="function" var="name"><xe:this.attributes><xp:parameter name="name" value="value" loaded="true|false"</xp:parameter>...</xe:this.attributes></xe:dojofxWipeIn>
Attribute | Description |
---|---|
attributes="json" |
List of JSON formatted values passed as is. |
duration="ms" |
Duration of the animation in milliseconds. Defaults to 350. |
easing="function" |
Function that returns the rate of change of the animation over its duration. |
loaded="true|false" |
Creates a tag instance when the control is loaded,
or not. Defaults to true . |
node="target" |
Identifier of the control to which the animation is applied. |
var="name" |
Variable name to identify the animation. |
Examples
Here two buttons cause text to
be wiped out and wiped in.
<xp:div id="div1"
style="font-size:16pt;font-weight:bold;text-align:center">
Testing testing testing
</xp:div>
<xp:button value="Wipe Out" id="button2">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script>
<xe:dojofxWipeOut node="div1" duration="1500"></xe:dojofxWipeOut>
</xp:this.script>
</xp:eventHandler></xp:button>
<xp:button value="Wipe In" id="button1">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script>
<xe:dojofxWipeIn node="div1" duration="1000"></xe:dojofxWipeIn>
</xp:this.script>
</xp:eventHandler>
</xp:button>