angular 手势缩放和在线预览pdf

夏才
2023-12-01

1.下载这两个插件可以实现在线预览和手势缩放
ng2-pdf-viewer https://www.npmjs.com/package/ng2-pdf-viewer
ngx-pinch-zoom https://www.npmjs.com/package/ngx-pinch-zoom
如果出现兼容问题 npm i pdfjs-dist@2.4.456

 类似资料: