i2 Notebook SDK
Search results for

    Show/hide table of contents

    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.

    In this article
    Back to top © N. Harris Computer Corporation