To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

Web

Web

Web namespace

Classes

Area
AreaTO
AudioControl
AudioControlTO
Browser
BrowserFilter
BrowserTO
Button
ButtonTO
CheckBox
CheckBoxTO
Edit
EditTO
Element
ElementTO
Event
FileField
FileFieldTO
Frame
FrameTO
Image
ImageTO
Link
LinkTO
ListBox
ListBoxTO
Menu
MenuTO
MouseEvent
NumericField
NumericFieldTO
Page
PageTO
RadioGroup
RadioGroupTO
Slider
SliderTO
Table
TableCell
TableTO
TabStrip
TabStripTO
TreeView
TreeViewTO
VideoControl
VideoControlTO

Members

(static) DialogButton

Properties:
Name Type Description
ok
cancel

(static) ImageTypes

Used for conversions of image type. Supported image types.
Properties:
Name Type Description
normal A normal image without any special meaning.
button An image contained in an input element (input type="image").
clientImageMap An image that is part of a client-side image map (relevant for area objects).
clientAndServerImageMap An image that is both a client image map and a server image map.
serverImageMap An image defined as a server-side image map.
link An image contained in an anchor element.

Type Definitions

BrowserType

Supported browser types.
Type:
  • Object
Properties:
Name Type Description
Chrome String Google Chrome
IE String Microsoft Internet Explorer
Firefox String Mozilla Firefox
Edge String Microsoft Edge
Safari String Safari browser on mobile devices
PhantomJS String The PhantomJS headless browser
MobileCenterBrowser String The HPE Mobile Center web browser

BrowserVersion

Type:
  • Object
Properties:
Name Type Description
type String The type of browser.
version String The browser version.