WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface RibbonGroupConfig

    Ribbon 按钮组配置接口

    interface RibbonGroupConfig {
        id: string;
        label: string;
        pinnable?: boolean;
        displayMode?: RibbonGroupDisplayMode;
        primaryButtons: RibbonButtonConfig[];
        moreButtons?: RibbonButtonConfig[];
        buttons?: RibbonButtonConfig[];
    }
    Index

    Properties

    id: string

    组的唯一标识符

    label: string

    组的显示标签

    pinnable?: boolean

    是否显示固定按钮

    显示模式: large(大图标+文字), compact(仅图标网格), layer(图层列表)

    primaryButtons: RibbonButtonConfig[]

    固定显示的主要按钮(在 Ribbon 栏中直接显示)

    moreButtons?: RibbonButtonConfig[]

    展开后显示的更多按钮(在浮动面板中显示)

    buttons?: RibbonButtonConfig[]

    使用 primaryButtons 和 moreButtons 代替