1 Star 0 Fork 0

毛小民 / ng-pdfjs-viewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

原项目:https://github.com/intbot/ng2-pdfjs-viewer

原项目npm地址:https://www.npmjs.com/package/ng2-pdfjs-viewer

目的

项目开发要使用pdf显示,于是使用上述地址中的项目ng2-pdfjs-viewer,前期很顺利,但是后来切换到ios safari发现有些pdf无法显示。 又来经过测试发现是pdf.js(好像是2.2左右的版本)库对某些突图片处理比较慢引起。 于是下载较新的pdf.js对ng2-pdfjs-viewer项目的重新封装

自定义

pdf.js : https://mozilla.github.io/pdf.js/

pdf.js github : https://github.com/mozilla/pdf.js

可以根据个人需求,对pdf.js进行更新,然后重新封装。需要自定义一些事件,方便angular项目使用

使用

将pdfjs文件夹放在项目的assets中。。。

MIT License Copyright (c) 2022 毛小民 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

用于angular的pdf显示,参考https://www.npmjs.com/package/ng2-pdfjs-viewer 展开 收起
TypeScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/maoxiaomin/ng-pdfjs-viewer.git
git@gitee.com:maoxiaomin/ng-pdfjs-viewer.git
maoxiaomin
ng-pdfjs-viewer
ng-pdfjs-viewer
master

搜索帮助