Components

ScriptActivity

<ScriptActivity task updateTask />

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.

View Source components/ScriptActivity.js, line 25

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.

View Source components/ScriptActivity.js, line 53