Home > @i2analyze/notebook-sdk > visual > IElementStyleBase > getBadge
visual.IElementStyleBase.getBadge() method
Gets the badge icon in the given slot.
Signature:
getBadge(slot: BadgeSlot): IBadgeIcon | undefined;
Introduced: version 1.10
Parameters
| Parameter | Type | Description |
|---|---|---|
| slot | BadgeSlot | The slot position to read. |
Returns:
IBadgeIcon | undefined
The badge icon in the slot, or undefined if the slot is empty.