Data-AnimationSpeed"

From Documentation
(Created page with "{{ZUMLReferencePageHeader}} To change the animation speed, you can apply data-animationspeed attribute. The valid value can be any integer, 'slow' or 'fast', same as jQuery. Whe...")
 
m (correct highlight (via JWB))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{ZUMLReferencePageHeader}}
 
{{ZUMLReferencePageHeader}}
  
To change the animation speed, you can apply data-animationspeed attribute. The valid value can be any integer, 'slow' or 'fast', same as jQuery. When you specify 0 as the value, it means no animation.
+
To change the animation speed, you can apply data-animationspeed attribute. The valid value can be 'slow', 'fast' or any integer, same as jQuery. When you specify 0 as the value, it means no animation.
  
<source lang="xml">
+
<source lang="xml" highlight='2'>
 
<div xmlns:ca="client/attribute">
 
<div xmlns:ca="client/attribute">
<panel title="Panel" width="500px" border="normal" collapsible="true" ca:data-animationspeed="0">
+
<panel title="Panel" ca:data-animationspeed="0"
 +
width="500px" border="normal" collapsible="true">
 
<panelchildren>panel content</panelchildren>
 
<panelchildren>panel content</panelchildren>
 
</panel>
 
</panel>
 
</div>
 
</div>
 
</source>
 
</source>
since 7.0.3
+
 
 +
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| 7.0.3
 +
| June 2014
 +
| [http://tracker.zkoss.org/browse/ZK-2332] Cardlayout should support tuning animation speed or disabling the animation
 +
|}
 +
 
 
{{ZUMLReferencePageFooter}}
 
{{ZUMLReferencePageFooter}}

Latest revision as of 09:10, 17 January 2022


Data-AnimationSpeed


To change the animation speed, you can apply data-animationspeed attribute. The valid value can be 'slow', 'fast' or any integer, same as jQuery. When you specify 0 as the value, it means no animation.

<div xmlns:ca="client/attribute">
	<panel title="Panel" ca:data-animationspeed="0" 
	width="500px" border="normal" collapsible="true">
		<panelchildren>panel content</panelchildren>
	</panel>
</div>

Version History

Last Update : 2022/01/17


Version Date Content
7.0.3 June 2014 [1] Cardlayout should support tuning animation speed or disabling the animation



Last Update : 2022/01/17

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.