Skip to content

9.1.2

Compare
Choose a tag to compare
@VadimDez VadimDez released this 11 Sep 13:01
· 83 commits to master since this release

improvements

  • [#925] - 9.1.1 version lacks pdfFindController.executeCommand
  • [#927] - Fix search
  • [#926] - Improve arrangement of annotations

Breaking Change

Since FindController.executeCommand is deprecated, you should now use eventBus to do search. Example:

@ViewChild(PdfViewerComponent) private pdfComponent: PdfViewerComponent;

search(stringToSearch: string) {
  this.pdfComponent.eventBus.dispatch('find', {
    query: stringToSearch, type: 'again', caseSensitive: false, findPrevious: undefined, highlightAll: true, phraseSearch: true
  });
}