DHTMLX Docs & Samples Explorer

Index
dhtmlxwindows
API Methods

## List of initialization properties for dhtmlxWindows object

- animation - {string} sets a visual effect(setEffect)
- image_path - {string} sets path to the directory where used images are located(setImagePath)
- skin - {string} changes window&#039;s skin(setSkin)

## List of initialization properties for createWindow method

- id - {string}, window's id
- x - {integer} x position of window
- y - {integer} y position of window
- widht - {integer} width of window
- height - {integer} height of window

- move - {boolean} allows a window to be moved(allowMove)
- park - {boolean} allows a window to be parked(allowPark)
- resize - {boolean} allows a window to be resized(allowResize)
- center - {boolean} centers a window in the viewport(center)
- modal - {boolean} makes a window modal/modeless(setModal)
- caption - {string} sets window's header text(setText)
- header - {boolean} shows window's header(showHeader)

### Events

any event can be assigned by using property equal to event name

    	win = wins.createWindow({
    		id:"about",
    		onClose:function(){
    			alert("Window is closing");
                            return true;
    		}
    	});