ng2-pdf-viewer
Advanced tools
Changelog
1.0.0
Use (after-load-complete)="afterLoadComplete($event)
instead of [after-load-complete]="afterLoadComplete($event)
on <pdf-viewer>
.
You do not need to bind your callback anymore.
Example of afterLoadComplete
callback:
afterLoadComplete(pdf: PDFDocumentProxy) {
this.pdf = pdf;
}