2.2.5 • Published 6 months ago

@types/pdfobject v2.2.5

Weekly downloads
2,476
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/pdfobject

Summary

This package contains type definitions for PDFObject (https://github.com/pipwerks/PDFObject).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject.

index.d.ts

// Type definitions for PDFObject 2.2
// Project: https://github.com/pipwerks/PDFObject
// Definitions by: Niels Boogaard <https://github.com/nielsboogaard>
//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace PDFObject;
export function embed(url: string, target?: any, options?: Options): HTMLElement;
export const pdfobjectversion: "2.2.3";
export const supportsPDFs: boolean;

export interface Options {
    id?: string | undefined;
    page?: boolean | undefined;
    pdfOpenParams?: Record<string, string | number | boolean> | undefined;
    fallbackLink?: boolean | string | undefined;
    width?: string | undefined;
    height?: string | undefined;
    assumptionMode?: boolean | undefined;
    forcePDFJS?: boolean | undefined;
    supportRedirect?: boolean | undefined;
    omitInlineStyles?: boolean | undefined;
    suppressConsole?: boolean | undefined;
    forceIframe?: boolean | undefined;
    PDFJS_URL?: string | undefined;
}

Additional Details

  • Last updated: Thu, 25 Nov 2021 11:31:05 GMT
  • Dependencies: none
  • Global values: PDFObject

Credits

These definitions were written by Niels Boogaard, and Piotr Błażejewicz.

2.2.5

6 months ago

2.2.4

7 months ago

2.2.3

2 years ago

2.2.1

3 years ago

2.2.2

3 years ago

2.2.0

3 years ago

2.0.6

7 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago