mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
PDF: default to odd pages right
This commit is contained in:
@@ -592,6 +592,7 @@ export const makePDF = async file => {
|
|||||||
},
|
},
|
||||||
size: 1000,
|
size: 1000,
|
||||||
}))
|
}))
|
||||||
|
book.sections[0].pageSpread = 'right'
|
||||||
book.isExternal = uri => /^\w+:/i.test(uri)
|
book.isExternal = uri => /^\w+:/i.test(uri)
|
||||||
book.resolveHref = async href => {
|
book.resolveHref = async href => {
|
||||||
const parsed = JSON.parse(href)
|
const parsed = JSON.parse(href)
|
||||||
|
|||||||
Reference in New Issue
Block a user