npm ng2-pdf-viewer 1.0.0

latest releases: 10.3.0, 10.2.2, 10.2.1...
7 years ago

Breaking change

Use (after-load-complete)="afterLoadComplete($event) instead of [after-load-complete]="afterLoadComplete on <pdf-viewer>.

You do not need to bind your callback anymore.

Example of afterLoadComplete callback:

afterLoadComplete(pdf: PDFDocumentProxy) {
  this.pdf = pdf;
}

Don't miss a new ng2-pdf-viewer release

NewReleases is sending notifications on new releases.