Each Web App Control Project contains the x4-webapp-api.d.ts and x4-webapp-api.js files in the Sources folder. The following functions are available for the X4API class declared in this files:
|
Function |
Description |
|---|---|
|
|
Initializes the connection to the parent custom control component. Return value:
|
|
|
Return value:
|
|
|
Developers can use this function to react to data model changes by setting the function to process incoming modifications. Return value:
|
|
|
Developers can use this function to react to property changes by setting the function to process incoming modifications. Return value:
|
|
|
Return value:
|
|
|
Return value:
|
|
|
Sets the property value by name. |
|
|
Terminates the subscription of data model changes by subscription ID. |
|
|
Return value:
|
|
|
Terminates the subscription of value changes by subscription ID. |
|
|
Sets the desired width of the control. Possible values:
|
|
|
Sets the desired height of the control. Possible values:
|
|
|
Return value:
|
|
|
Return value:
|
|
|
Return value:
|
|
|
Accepts the action name and an optional custom parameter array of the Return value:
|