<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`loadPdfJs`](loadPdfJs)
## loadPdfJs() function
Load PDF.js and return a promise to the global pdfjsLib object. Can also use `window.pdfjsLib` after this promise resolves to get the same reference.
**Signature:**
```typescript
export function loadPdfJs(): Promise<any>;
```
**Returns:**
`Promise``<any>`