Constructor
# <ScriptActivity task updateTask />
Script activity. It provides a code editor to add a script.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
task |
object | Yes | Task data. | |
updateTask |
func | Yes | Callback to update the value of task in the parent component. |
Methods
# inner handleResize(event, size)
Updates the value of "viewerHeight" when user drags the corner of Resizable component.
Parameters:
Name | Type | Description |
---|---|---|
event |
Object | Triggered event. |
size |
Object | Updated size of Resizable component. |