\Kendo\UI\ChatToolbarAnimation

A PHP class representing the animation setting of ChatToolbar.

Methods

collapse

Configures the collapse animation of the toolbar.

Returns

\Kendo\UI\ChatToolbarAnimation

Parameters

$value \Kendo\UI\ChatToolbarAnimationCollapse|array

Example - using \Kendo\UI\ChatToolbarAnimationCollapse

<?php
$animation = new \Kendo\UI\ChatToolbarAnimation();
$collapse = new \Kendo\UI\ChatToolbarAnimationCollapse();
$duration = 1;
$collapse->duration($duration);
$animation->collapse($collapse);
?>

Example - using array

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

expand

Configures the expand animation of the toolbar.

Returns

\Kendo\UI\ChatToolbarAnimation

Parameters

$value \Kendo\UI\ChatToolbarAnimationExpand|array

Example - using \Kendo\UI\ChatToolbarAnimationExpand

<?php
$animation = new \Kendo\UI\ChatToolbarAnimation();
$expand = new \Kendo\UI\ChatToolbarAnimationExpand();
$duration = 1;
$expand->duration($duration);
$animation->expand($expand);
?>

Example - using array

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