\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, 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');
?>
In this article
Not finding the help you need?