Skip to content

Commit e408d02

Browse files
committed
docs: 📝 更新 NPM 模块文档
SchneeHertz/exhentai-manga-manager#279
1 parent 6d18613 commit e408d02

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/NPM 模块.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,9 @@ ComicReader.open(['/1.png', '/2.png', '/3.png'], '标题');
8080
ComicReader.setProps('show', false);
8181
// 跳到指定页数(注意在双页模式下,页数不等于图片在列表里的序列数)
8282
ComicReader.goto(1);
83+
84+
// 加载中的图片可以先用空字符串占位,之后再 open 新的图片列表
85+
ComicReader.open(['', '', '/3.png'], '标题');
86+
// 传递一个空数组可以重置为初始状态
87+
ComicReader.open([]);
8388
```

0 commit comments

Comments
 (0)