Home > @i2analyze/notebook-sdk > app > IElementEditorBase
app.IElementEditorBase interface
A set of methods for modifying the appearance of an element.
Signature:
interface IElementEditorBase
Introduced: version 1.2
Methods
| Method | Description |
|---|---|
| clearBadges() | Clears all badge icons on the element. |
| setBadge(slot, href, description) | Sets a badge icon in the given slot on the element. |
| setBadge(slot, href) | Clears the badge icon in the given slot on the element. |
| setColor(color) | Sets or resets the color of the element. |
| setLabel(label) | Sets or resets the label of the element. |