Home > @i2analyze/notebook-sdk > visual > IElementStyleBase
visual.IElementStyleBase interface
A style for an element, which affects its appearance.
Signature:
interface IElementStyleBase
Introduced: version 1.2
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| badges |
readonly
| ReadonlyArray<IBadgeIcon> | Gets the badge icons displayed on the element, in slot order. |
| color |
readonly
| IElementSetting<string> | Gets the color of the element. |
Methods
| Method | Description |
|---|---|
| getBadge(slot) | Gets the badge icon in the given slot. |