Javascript prototype
Several features and methods are available to the Javascript instance.
Property | Description |
---|---|
context | Context of the widget |
htmlNode | Javascript node on which the component is bound. See also http://de.selfhtml.org/javascript/objekte/node.htm |
settings | Object with the transferred properties. |
Function | Description |
---|---|
init() | If this function is defined, it is called when loading the widget. |
resize(width, height) | If this function is defined, it is called when changing the size of the widget. |
The feature “context” contains the following functions:
Function | Description |
---|---|
finishActivity(value) | Changes the activity next called |
getModel() | Supplies the model |
getSourceWindow() | Supplies the HtmlWindow by which the workflow was executed |
getSourceElement() | Supplies the HtmlNode |
updateModel(newModel) | Updates the edited model |