DHTMLX Docs & Samples Explorer

Default Behavior

By default the viewport is document.body
Several browsers need to improve body's style by setting its width and height to 100%
In this case a window will become movable on all the available document.body's space.
Besides, there is no need for you to call any other methods that will affect the viewport.

Source
<div>
By default the viewport is document.body
<br>
Several browsers need to improve body's style by setting its width and height to 100%
<br>
In this case a window will become movable on all the available document.body's space.
<br>
Besides, there is no need for you to call any other methods that will affect the viewport.
</div>
<br>
<input type="button" value="Open Demo" onclick="window.open('inc/01_default_demo.html');">