DHTMLX Touch documentation
window
Methods
Events
Properties
Start
Components
window
Type: Component
File: ui/window.js
Based on:
touch_view
,
view
,
Settings
,
Destruction
,
Movable
,
Modality
,
EventSystem
Included in:
popup
Methods
attachEvent
- attach custom handler to inner event
block
- stop event calls until unblocking
callEvent
- calls inner event
close
- removes a window
define
- sets configuration property or a hash of properties
destructor
- destructs the object
detachEvent
- detach custom code from handler
getNode
- gets html object of a view
getParent
- gets a parent view
hide
- hides a window
mapEvent
- route events from one object to another
resize
- recalculates and adjusts view sizes
setPosition
- sets windows position
show
- shows a view
unblock
- restore normal event processing
Events
onShow
- a window is shown
onHide
- a window is hidden
Properties
header
- the content of window header: template or view
body
- the content of window body: template or view
position
- window position: 'top' or 'center'
head_height
- header height (32)
width
- window width (300)
height
- window height (200)
top
- the top offset of a window (100)
left
- the left offset of a window (100)
container
- html container or its id where view needs being initialized
id
- view id
css
- class name for view container
width
- view width
height
- view height
gravity
- view gravity (1 by default)
move
- makes view movable
modal
- switches window modality