npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@geeboo/reader-h5

v1.0.9

Published

vue2,vue3

Downloads

3

Readme


head: false sidebar: false

geeboo/reader-h5

pc阅读器,基于geeboo/epub支持解密,集成阅读器的基本功能。

迭代

未处理问题

  1. 缓存策略 设置的缓存策略部分生效,部分不生效

v1.0.9 0. 优化 跟pc 版本保持一致,表示他们功能是同一个版本

  1. 优化 cfi 进度缓存记录
  2. 修复 进度控制器初始化为0

v1.0.4

  1. 修改 字号、进度拖动无效
  2. 新增点击注释

v1.0.3

  1. 修复 点击无效

v1.0.2

  1. 添加 图片预览
  2. 添加 音频播放器

v1.0.1

  1. 修复 el 样式丢失

安装

npm i @geeboo/reader-h5 -S

外部样式引入

影响融媒体的样式和提示

// vite.config.js
import { viteStaticCopy } from 'vite-plugin-static-copy';
// ...
 plugins: [
    viteStaticCopy({
      targets: [
        { src: 'node_modules/@geeboo/reader-h5/lib/public/**/*.*', dest: 'public' }, // 复制到 /public/*.* 中
      ]
    })
  ],

Demo

:::preview 阅读器 || 阅读电子书组件预览

demo-preview=./demo/read-h5.vue

:::

属性

属性名 | 类型 | 说明 --- | --- | --- config| Object | 配置 config.url| String/file | 打开的地址 支持file blob ,也支持远程地址,注意远程地址需要支持跨域 deviceId | String | 设备id deviceModel | String | 设备模式 treeNode | Element Ui/ Element PLus | 传入element ui 的tree 或 elemnt plus 的tree 这里是为了对vue2 和vue3的兼容处理 elSlider | Element Ui/ Element PLus | 传入element ui elSlider 或 elemnt plus elSlider 这里是为了对vue2 和vue3的兼容处理