ComPDFKit Web SDK
    Preparing search index...

    Interface PageReplacementFile

    File dropdown item of the replace page dialog: id / filename and onSelect (a function returning a Document).

    interface PageReplacementFile {
        filename?: string;
        id?: string;
        onSelect?: () => unknown;
        [key: string]: unknown;
    }

    Indexable

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

    File name shown in the dropdown.

    id?: string

    Identifier of the file.

    onSelect?: () => unknown

    Returns the Document to take the replacement pages from.