epub.js使用
<div id="viewer"></div>1.引入图书路径,需是epub类型,(method需为default,要么苹果端加载为空白)var book = ePub("epub/三国演义.epub", { openAs: "epub"});var rendition = book.renderTo("viewer", { restore: true, width: '100%', height: "100%", method: 'default',});
原创
2021-02-19 14:29:34 ·
3178 阅读 ·
12 评论