JsObject

JsObject

The JsObject class represents a JS object that the user placed in a window of an EasyBuilder Pro project.

Users can access the JS object through this variable in the source code.

Members

config :Object

This property holds the configuration of the JS object.

Type:
  • Object

state :Number

This property holds the state of the JS object. The valid range of state is from 0 to 65535.

Type:
  • Number

widget :Container

This property holds the widget of the JS object.

Type:

Methods

playSound()

Plays the designated sound.

Example
this.playSound();