ComPDFKit Web SDK
    Preparing search index...

    Interface CustomEmptyPanelOptions

    Options of UI.NotesPanel.setCustomEmptyPanel: what the notes panel shows when it lists no annotations.

    interface CustomEmptyPanelOptions {
        hideIcon?: boolean;
        icon?: string;
        message?: string;
        readOnlyMessage?: string;
        render?: () => HTMLElement;
    }
    Index
    hideIcon?: boolean

    When true, the icon is not drawn.

    icon?: string

    Inline SVG markup drawn above the text.

    message?: string

    Text shown instead of the default empty message.

    readOnlyMessage?: string

    Text shown instead of message when the document is read-only or does not allow changes.

    render?: () => HTMLElement

    Builds the whole empty panel content; when given, the message and icon options are not used.

    Type Declaration

      • (): HTMLElement
      • Returns HTMLElement

        The element to show.