\Kendo\UI\WindowModal

A PHP class representing the modal setting of Window.

Methods

preventScroll

Specifies whether the document will stop scrolling when a modal dialog is opened. Closing the modal dialog has to restore the initial document overflow. The modal.preventScroll setting will modify the overflow rule of the document and, therefore, cannot be used together with the containment option.

Returns

\Kendo\UI\WindowModal

Parameters

$value boolean

Example

<?php
$modal = new \Kendo\UI\WindowModal();
$modal->preventScroll(true);
?>
In this article
Not finding the help you need?