pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
21 lines (20 loc) • 931 B
TypeScript
export class CommentManager {
static "__#private@#hasForcedColors": null;
static _makeCommentColor(color: any, opacity: any): string | null;
constructor(commentDialog: any, sidebar: any, eventBus: any, linkService: any, overlayManager: any, ltr: any, hasForcedColors: any);
dialogElement: any;
setSidebarUiManager(uiManager: any): void;
showSidebar(annotations: any): void;
hideSidebar(): void;
removeComments(ids: any): void;
selectComment(id: any): void;
addComment(annotation: any): void;
updateComment(annotation: any): void;
toggleCommentPopup(editor: any, isSelected: any, visibility: any, isEditable: any): void;
destroyPopup(): void;
updatePopupColor(editor: any): void;
showDialog(uiManager: any, editor: any, posX: any, posY: any, options: any): Promise<void>;
makeCommentColor(color: any, opacity: any): string | null;
destroy(): void;
#private;
}