Home > @i2analyze/notebook-sdk > app > IElementEditorBase > clearBadges
app.IElementEditorBase.clearBadges() method
Clears all badge icons on the element.
Signature:
clearBadges(): this;
Returns:
this
The element, with all badge icons cleared.
Introduced: version 1.10
Remarks
After this call, style.badges is empty and style.getBadge(slot) returns undefined for every slot.