\Kendo\UI\WindowPosition

A PHP class representing the position setting of Window.

Methods

left

Specifies the initial left position of the window. Numeric values are treated as pixels. String values can specify pixels or percentages, ems or other valid values.

Returns

\Kendo\UI\WindowPosition

Parameters

$value float |string

Example - using float

<?php
$position = new \Kendo\UI\WindowPosition();
$position->left(1);
?>

Example - using string

<?php
$position = new \Kendo\UI\WindowPosition();
$position->left('value');
?>

top

Specifies the initial top position of the window. Numeric values are treated as pixels. String values can specify pixels, percentages, ems or other valid values.

Returns

\Kendo\UI\WindowPosition

Parameters

$value float |string

Example - using float

<?php
$position = new \Kendo\UI\WindowPosition();
$position->top(1);
?>

Example - using string

<?php
$position = new \Kendo\UI\WindowPosition();
$position->top('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy