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

31 commits

Author SHA1 Message Date
Fred Chasen
c738e658a2
Merge pull request #1319 from laterbuy/master
Update packaging.d.ts
2023-05-15 22:01:29 -07:00
laterbuy
00aeaa544b
Update packaging.d.ts 2023-03-03 10:41:06 +08:00
Alberto Valero Gómez
0042ba9d5b
Update rendition.d.ts 2022-12-01 09:38:16 +01:00
Alberto Valero Gómez
58a008fddf
Update rendition.d.ts 2022-12-01 09:37:23 +01:00
Fred Chasen
f6fece4f88
Merge pull request #1239 from rafaelsaback/fix-locations-generate-type
Fix locations.generate's return type
2022-01-07 15:49:31 -08:00
Rafael Saback
33df7dd27e Fix locations.generate's return type 2021-12-29 11:49:29 +01:00
Rafael Saback
2c29a61537
Add location and percentage to DIsplayedLocation 2021-12-29 11:39:25 +01:00
Fred Chasen
ab4dd46408 Add iframe sandboxing 2021-10-20 20:15:50 -07:00
Fred Chasen
952190e76f
Merge pull request #1140 from EduardoJM/master
fix the getRange in Book return type to Promise
2021-03-08 15:25:32 -08:00
Eduardo
0811cf9ea4 fix the getRange in Book return type to Promise 2020-10-23 09:39:20 -03:00
Massimiliano Mirra
6642c435ca update Epub() type signature to reflect implementation 2020-08-16 10:40:10 +01:00
Tudor Gavan
4489f0ed02
Update index.d.ts 2020-06-27 19:00:45 +03:00
Christiaan Baartse
d690dd9d68 Change Book.coverUrl to return null when there is no cover
CoverUrl now returns an undefined when there is no cover. However not
having a cover is expected behavior for an epub without a cover.
2020-05-22 11:34:03 +02:00
Christiaan Baartse
2f63b16276 Fix broken coverUrl for archived Epubs
When calling coverUrl for an archived epub the resolved promise contains
undefined and not a string.

Also the documentation everywhere is lying about coverUrl() returning a
string whereas it actually returns a Promise that resolves to a string.
2020-05-19 06:48:19 +02:00
Fred Chasen
dcf6ef77d0 Update types for scrollType 2020-05-15 11:11:41 -07:00
Fred Chasen
7b8480fde0
Merge pull request #927 from mikkelvp/dev
Respect pre-paginated page spreads
2020-05-14 23:01:21 -07:00
Fred Chasen
9bd844036d
Merge pull request #889 from yellowtree/css_serialized
Implement serialized themes CSS
2020-05-13 21:44:41 -07:00
Fred Chasen
faab7416c8
Merge pull request #984 from cceglia/master
Added access to NavItem and Location
2020-05-13 21:33:57 -07:00
Fred Chasen
33376c0b91
Merge pull request #1016 from m8524769/fix-parent-type
Fix the parent type of NavItem interface (NavItem -> string)
2020-05-13 21:33:10 -07:00
m8524769
139e9efb22 Fix parent type of NavItem (NavItem -> string) 2019-12-19 00:15:41 +08:00
m8524769
920846bda2 Fix wrong TOC item retruns by Navigation.get() (#831) 2019-12-16 18:56:05 +08:00
Cristiano Ceglia
e00adddc0f
Added access to NavItem and Location
I added the possibility to reference NavItem and Location definitions.
2019-09-27 16:45:45 +02:00
Mikkel Vester Petersen
3f76bb822f Get spread from metadata 2019-09-12 12:22:23 +02:00
Benjamin Pick
8cd4f18bce adding typescript definitions 2018-12-19 11:29:28 +01:00
Fred Chasen
10b451dc1c Added Snap helper 2018-11-03 14:34:20 -07:00
Fred Chasen
231496a047 resource process method, types fixes 2018-10-29 18:29:04 -07:00
Fred Chasen
deda82d2a9 Fix localforage require 2018-10-29 11:05:31 -07:00
Fred Chasen
51a573dd90 split out retrive and put methods 2018-10-29 08:58:31 -07:00
Fred Chasen
363be16fd9 Add Storage 2018-10-28 22:31:24 -07:00
Fred Chasen
96141d1de3 Update types, version bump to 0.3.74 2018-10-17 15:48:33 -07:00
Fred Chasen
6bfcd1e4eb Added type declarations 2018-08-20 22:21:26 -07:00