Home > @i2analyze/notebook-sdk > app > IElementEditorBase > setLabel
app.IElementEditorBase.setLabel() method
Sets or resets the label of the element.
Signature:
setLabel(label: string | undefined): this;
Introduced: version 1.5
Parameters
| Parameter | Type | Description | 
|---|---|---|
| label | string | undefined | The label to set, or undefined to reset the label to the default. | 
Returns:
this
The element, with its label set to the specified value.