\Kendo\UI\DropDownTreeAnimation

A PHP class representing the animation setting of DropDownTree.

Methods

close

Returns

\Kendo\UI\DropDownTreeAnimation

Parameters

$value \Kendo\UI\DropDownTreeAnimationClose|array

Example - using \Kendo\UI\DropDownTreeAnimationClose

<?php
$animation = new \Kendo\UI\DropDownTreeAnimation();
$close = new \Kendo\UI\DropDownTreeAnimationClose();
$duration = 1;
$close->duration($duration);
$animation->close($close);
?>

Example - using array

<?php
$animation = new \Kendo\UI\DropDownTreeAnimation();
$duration = 1;
$animation->close(array('duration' => $duration));
?>

open

The animation played when the suggestion popup is opened.

Returns

\Kendo\UI\DropDownTreeAnimation

Parameters

$value \Kendo\UI\DropDownTreeAnimationOpen|array

Example - using \Kendo\UI\DropDownTreeAnimationOpen

<?php
$animation = new \Kendo\UI\DropDownTreeAnimation();
$open = new \Kendo\UI\DropDownTreeAnimationOpen();
$duration = 1;
$open->duration($duration);
$animation->open($open);
?>

Example - using array

<?php
$animation = new \Kendo\UI\DropDownTreeAnimation();
$duration = 1;
$animation->open(array('duration' => $duration));
?>
In this article
Not finding the help you need?