mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
built
This commit is contained in:
parent
b9a7ffb7e6
commit
d06e5b219e
7 changed files with 13 additions and 8 deletions
|
@ -1333,6 +1333,11 @@ EPUBJS.Book.prototype.prevChapter = function() {
|
||||||
return this.displayChapter(this.spinePos, true);
|
return this.displayChapter(this.spinePos, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
EPUBJS.Book.prototype.getCurrentLocationCfi = function() {
|
||||||
|
if(!this.isRendered) return false;
|
||||||
|
return this.render.currentLocationCfi;
|
||||||
|
};
|
||||||
|
|
||||||
EPUBJS.Book.prototype.gotoCfi = function(cfi){
|
EPUBJS.Book.prototype.gotoCfi = function(cfi){
|
||||||
if(!this.isRendered) return this._enqueue("gotoCfi", arguments);
|
if(!this.isRendered) return this._enqueue("gotoCfi", arguments);
|
||||||
return this.displayChapter(cfi);
|
return this.displayChapter(cfi);
|
||||||
|
|
4
build/epub.min.js
vendored
4
build/epub.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
build/libs/zip.min.js
vendored
2
build/libs/zip.min.js
vendored
File diff suppressed because one or more lines are too long
4
demo/js/epub.min.js
vendored
4
demo/js/epub.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/js/libs/inflate.min.js
vendored
2
demo/js/libs/inflate.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/js/libs/zip.min.js
vendored
2
demo/js/libs/zip.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue