mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Added basic pagination
This commit is contained in:
parent
1a89a9c3ff
commit
816880d328
12 changed files with 1289 additions and 373 deletions
13
API.js
13
API.js
|
@ -116,4 +116,15 @@ section.find("query");
|
|||
|
||||
epub.on("noAuth", function(){
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
rendition = epub.renderTo("elementID", {});
|
||||
|
||||
pagination = rendition.paginate({});
|
||||
pagination = new EPUBJS.Paginate(rendition, {spreads: true, minwidth: 800, layout: {} });
|
||||
layout = new EPUBJS.Layout(global);
|
||||
|
||||
pagination.next();
|
||||
pagination.prev();
|
||||
pagination.page();
|
||||
pagination.map();
|
Loading…
Add table
Add a link
Reference in a new issue