1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

updated pagination to give pageRange and anchorPage

This commit is contained in:
fchasen 2014-04-23 22:30:15 -07:00
parent 36ccb1230b
commit 1fb81952c1
14 changed files with 494 additions and 142 deletions

View file

@ -90,7 +90,8 @@ EPUBJS.Layout.ReflowableSpreads.prototype.format = function(documentElement, _wi
documentElement.style[columnAxis] = "horizontal";
documentElement.style[columnGap] = gap+"px";
documentElement.style[columnWidth] = colWidth+"px";
this.colWidth = colWidth;
this.gap = gap;
return {
pageWidth : this.spreadWidth,
pageHeight : _height