New to Kendo UI for Angular? Start a free 30-day trial
KENDO_PDFVIEWER
Use the KENDO_PDFVIEWER
utility array to add all @progress/kendo-angular-pdf-viewer
-related components and directives to a standalone Angular component.
typescript
import { Component } from '@angular/core';
import { KENDO_PDFVIEWER } from "@progress/kendo-angular-pdf-viewer";
@Component({
standalone: true,
imports: [KENDO_PDFVIEWER],
selector: 'my-app',
template: `<kendo-pdf-viewer [url]="pdfUrl"></kendo-pdf-viewer>`
})
export class AppComponent {}