Version
Version | Functional Change |
---|---|
11.0 | Difference from V10.0: No changes, and all the following APIs are supported in V10.0. |

The following APIs can only be used on the Event panel of the widget.
this
this.options.form
API | this.options.form | To allow you to use the getWidgetByName(name) API. |
---|---|---|
Parameter | - | - |
Return value | - | |
Example | Example 1: You can obtain the actual value of the drop-down box widget comboBox0. this.options.form.getWidgetByName("comboBox0").getValue(); Example 2: You can obatin the drop-down box widget comboBox0 and set it to be invisible. this.options.form.getWidgetByName("comboBox0").setVisible(false); | |
Application Example | You can assign a value to the obtained widget to achieve widget value linkage. For details, see Value Assignment to Parameter Widget by JS.
| |
Mobile Terminal | This API is supported on mobile terminals. |