The apps property returns the list of HostSurfer applications available to the user, defined within the HostSurfer instance of the terminal emulator frame.
Each element of apps object array, has the following properties:
Property name
|
Explanation
|
desc
|
The title of the application, as will be showed in the emulator panel application menu, as well as window bar.
|
link
|
The relative path to the main web page.
|
panel
|
A JS object that defines the container jsPanel properties and features within which the web application will be run.
|
autostart
|
Boolean value indicating whether the application is run by default.
|
'panel' has the following properties:
Property name
|
Explanation
|
width
|
Panel width, as number type.
|
height
|
Panel height, as number type.
|
features
|
Specification of visual appearance of the panel control on which the web application runs. Please refer to next table.
|
position
|
Position property can be set with a string value that allows to set some position properties in one string. Following "substrings" separated by a space can be used:
basic position This can be one of the values left-top, left-center, left-bottom, center-top, center, center-bottom, right-top, right-center, right-bottom.
offsetX The added string represents either a number or a percentage value that is used to set option.position.offsetX.
offsetY The added string represents either a number or a percentage value that is used to set option.position.offsetY.
|
toolBarClass
|
The toolbar css class designation
|
'features' has the following properties:
Property name
|
Explanation
|
draggable
|
Boolean type, indicates whether the panel can be dragged over the browser client area.
|
hasToolbar
|
Boolean type, indicates whether the panel has a toolbar.
|
maximized
|
Boolean type, indicates whether the panel is shown maximized.
|
resizeit
|
Boolean type, indicates whether the panel can be resized.
|
headerControls
|
A collection of properties that indicates which controls are removed from the header bar
|
Remarks
Read only property.
|