i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > commands > IGroupConfigBase

    commands.IGroupConfigBase interface

    Configuration shared by the commands.IGroup variants.

    Signature:

    interface IGroupConfigBase<TCommandType extends CommandType = 'unscoped'> extends IGroupBase 
    

    Extends: IGroupBase

    Introduced: version 1.0

    Type Parameters

    Parameter Type Description
    TCommandType extends CommandType(default: 'unscoped') The type of the command-context for the group, which determines what event API is passed to {@link commands.IGroupConfigBase.onSurface}. Defaults to 'unscoped'.

    Remarks

    The fields common to the non-split commands.IStandardGroup and the split-button commands.ICommandGroup.

    Properties

    Property Modifiers Type Description
    context? readonly TCommandType (Optional) Gets the command-context type, which determines what event API is passed to commands.IGroupConfigBase.onSurface().
    icon? readonly IIcon (Optional) Gets the icon of the group, which is displayed if the group is collapsed.
    id readonly GroupId Gets the identifier of the group. This must be a non-empty string. (Inherited from IGroupBase)
    isCollapsed? readonly boolean (Optional) Indicates whether the group is initially expanded (false) or collapsed (true) in the user interface. (Inherited from IGroupBase)
    label? readonly string (Optional) Gets the label of the group.
    popoutStyle? readonly 'ribbon' (Optional) Gets the popup style for the group's trigger button.

    Methods

    Method Description
    onSurface(groupAction, eventApi, signal)? (Optional) Runs when an action derived from the group is surfaced, enabling the group to configure the action in response to events.
    In this article
    Back to top © N. Harris Computer Corporation