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

Element
ElementTO
TreeViewTO
Area
AreaTO
AudioControl
AudioControlTO
Browser
BrowserFilter
BrowserTO
Button
ButtonTO
CheckBox
CheckBoxTO
Edit
EditTO
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
VideoControl
VideoControlTO

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.

DialogButton

Possible dialog button types
Type:
  • Object
Properties:
Name Type Description
ok string The ok button type.
cancel string The cancel button type.

ImageTypes

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