\Kendo\UI\PopupAnimation

A PHP class representing the animation setting of Popup.

Methods

close

The animation played when the popup is closed.

Returns

\Kendo\UI\PopupAnimation

Parameters

$value \Kendo\UI\PopupAnimationClose|array

Example - using \Kendo\UI\PopupAnimationClose

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

Example - using array

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

open

The animation played when the calendar popup is opened.

Returns

\Kendo\UI\PopupAnimation

Parameters

$value \Kendo\UI\PopupAnimationOpen|array

Example - using \Kendo\UI\PopupAnimationOpen

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

Example - using array

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