JSHTMLObject
API for managing the registration of ghost JSHTML objects.
Create a API with Module.createHTMLObject.
let trace = Module.createHTMLObject("ID");
Properties
verticalAlign
string
Sets the vertical alignment of the JSHTMLObject (left, center, right).
horizontalAlign
string
Sets the horizontal alignment of the JSHTMLObject (top, middle, bottom).
Function
createbyJson(option) -> object
Creates an HTML Element object.
Return
.result: API success status (1: Success, 0: Failure)
.name: Operation API name
.return: API return information (object: Normal return value, string: Failure error code)
Sample
Refer to function createDivObject
refresh()
Refreshes the visibility of the object.
Applies visibility changes immediately based on modified object options.
Type Definitions
JSHTMLObject.CreateOptions
Options for creating HTML objects.
container
string
Name of the container to hold the web element.
canvas
web element
Canvas element for setting screen size.
element
web element
Web element to visualize.
verticalAlign
string
optional
top
Visualization option (vertical alignment).
horizontalAlign
string
optional
left
Visualization option (horizontal alignment).
moveChange
function
optional
Callback function at the moment of visibility change.
Last updated