\Kendo\UI\TreeViewAnimationCollapse
A PHP class representing the collapse setting of TreeViewAnimation.
Methods
duration
The number of milliseconds used for the animation when a node is expanded.
Returns
\Kendo\UI\TreeViewAnimationCollapse
Parameters
$value float
Example
<?php
$collapse = new \Kendo\UI\TreeViewAnimationCollapse();
$collapse->duration(1);
?>
effects
A whitespace-delimited string of animation effects that are used when collapsing nodes. The supported effects are fadeOut and collapseVertical.
Returns
\Kendo\UI\TreeViewAnimationCollapse
Parameters
$value string
Example
<?php
$collapse = new \Kendo\UI\TreeViewAnimationCollapse();
$collapse->effects('value');
?>