ComPDFKit Web SDK
    Preparing search index...

    Interface ThumbnailMenuItem

    One entry of the thumbnail more menu.

    interface ThumbnailMenuItem {
        dataElement?: string;
        img?: string;
        onClick?: (selectedPageNumbers: number[]) => void;
        title?: string;
        [key: string]: unknown;
    }

    Indexable

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

    Name of a preset item (for example 'thumbRotateClockwise', 'thumbDelete') or unique name of a custom item.

    img?: string

    Icon of a custom item.

    onClick?: (selectedPageNumbers: number[]) => void

    Called with the page numbers of the selected thumbnails when a custom item is clicked.

    title?: string

    Label of a custom item.