ComPDFKit Web SDK
    Preparing search index...

    Interface ModularComponent

    Modular component (union of all kinds; the store only reads type / items / groupedItems / toggleElement / toolName / buttonType).

    interface ModularComponent {
        buttonType?: string;
        dataElement: string;
        groupedItems?: string[];
        items?: string[];
        toggleElement?: string;
        toolbarGroup?: string;
        toolName?: string;
        type: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    buttonType?: string

    Built-in button type of a preset button.

    dataElement: string

    Unique name of the component.

    groupedItems?: string[]

    dataElements of the grouped items a ribbon item or tool group toggle button shows.

    items?: string[]

    dataElements of the child components (groups only).

    toggleElement?: string

    dataElement of the element a toggle button opens and closes.

    toolbarGroup?: string

    Toolbar group activated by a ribbon item.

    toolName?: string

    Tool activated by a tool button.

    type: string

    Component type, for example 'customButton', 'toolButton', 'groupedItems' or 'divider'.