编辑 | blame | 历史 | 原始文档

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the element that you want to label
[choice] single | multiple single Configure whether you can select one or multiple labels for a region
[maxUsages] number Maximum number of times a label can be used per task
[showInline] boolean true Whether to show labels in the same visual line
[opacity] float 0.6 Opacity of rectangle highlighting the label
[fillColor] string Rectangle fill color in hexadecimal
[strokeColor] string "#f48a42" Stroke color in hexadecimal
[strokeWidth] number 1 Width of the stroke
[value] string Task data field containing a list of dynamically loaded labels (see example below)