ComPDFKit Web SDK
    Preparing search index...

    Interface PopupAPI

    Reads and writes the items of one popup (UI.annotationPopup, UI.textPopup and the other popup objects).

    interface PopupAPI {
        add(items: PopupItem | PopupItem[], after?: string): PopupAPI;
        getItems(): PopupItem[];
        update(items?: PopupItem | PopupItem[]): PopupAPI;
    }
    Index
    • The current items (shallow copy of the array; the items themselves are not copied).

      Returns PopupItem[]