\Kendo\UI\DialogAnimation

A PHP class representing the animation setting of Dialog.

Methods

close

The animation that will be used when a Dialog closes.

Returns

\Kendo\UI\DialogAnimation

Parameters

$value \Kendo\UI\DialogAnimationClose |array

Example - using \Kendo\UI\DialogAnimationClose

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

Example - using array

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

open

The animation that will be used when a Dialog opens.

Returns

\Kendo\UI\DialogAnimation

Parameters

$value \Kendo\UI\DialogAnimationOpen |array

Example - using \Kendo\UI\DialogAnimationOpen

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

Example - using array

<?php
$animation = new \Kendo\UI\DialogAnimation();
$duration = 1;
$animation->open(array('duration' => $duration));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy