View is a base class for all ui-related components, 'ground' for their placing.
A single view presents just a frame on a screen and doesn't contain anything inside. It's like a box where you store various things.
To init the component you need to perform a simple procedure - call initialization code.
Initialization code or an object constructor gives you a choice: you can create an object directly or by using common declaration.
dhx.ui.view({...})// direct declaration //or dhx.ui ({...})//common declaration
Whatever variant you choose it will include some of the following parameters (all of them are optional):
Please note, view is a base class, i.e. all the derived components inherit its features.
dhx.ui({ id: "someview", height:250, width: 700 });
To use ui functionality, touchui.css and touchui.js files must be included.