Content only available in english
$draw
This keyword will allow the user to draw on it using the mouse.
Install
To use this keyword, it must be first installed on the server as:
cob-cli customize drawDependencies
For this to work as intended, the following customizations must also be installed:
cob-cli customize mobile
cob-cli customize imageUsage
$file $draw([width:number,height:number,options:boolean])Options:
| Parameter | Description |
|---|---|
width | the width of the drawing board. Defaults to 400px. |
height | the height of the drawing board. Defaults to 400px. |
options | Enables download and upload features if options:true. Defaults to true. |
WARNING
This customization requires the $field keyword since the draw is saved as an attachment.
Examples
Using as signature field
$file $draw

