i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > INodeGroupEditor > setBorderColor

    app.INodeGroupEditor.setBorderColor() method

    Sets or resets the color of the node group.

    Signature:

    setBorderColor(color: string | undefined | null): this;
    

    Introduced: version 1.8

    Parameters

    Parameter Type Description
    color string | undefined | null The color to set, or null to remove the border, or undefined to reset the border color to the theme default.

    Returns:

    this

    The node group, with its border color set to the specified value.

    Exceptions

    Error if the specified value is not in a form that CSS supports, such as a hexadecimal number, an rgb() value, or a color name, or null or undefined.

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