UNPKG

ngx-extended-pdf-viewer

Version:

Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.

28 lines (27 loc) • 812 B
export interface OptionalContentConfig { name: any; creator: any; _order: any; _groups: Map<any, any>; _evaluateVisibilityExpression(array: any): any; isVisible(group: any): any; setVisibility(id: any, visible?: boolean): void; getOrder(): any; getGroups(): any; getGroup(id: any): any; } export interface OptionalContentGroup { visible: boolean; name: string; intent: any; } export interface PdfLayer { layerId: string; name: string; visible: boolean; } /** * Lists the layers in the order of the PDF file, including the layers of nested groups. * `getOrder()` yields layer ids and, for a group, an object with the `order` of its members. */ export declare function listPdfLayers(optionalContentConfig: OptionalContentConfig): Array<PdfLayer>;