Optionalpause: numberSet the current location
Get an EpubCFI from location index
cfi
Get an EpubCFI from location percentage
cfi
Load all of sections in the book to generate locations
Optionalchars: numberhow many chars to split on
locations
Load all of sections in the book to generate locations
OptionalstartCfi: stringstart position
OptionalwordCount: numberhow many words to split on
Optionalcount: numberresult count
locations
Locations length
Load locations from JSON
Optionalchars: numberGet a percentage position in locations from an EpubCFI
Get a percentage position from a location index
location index
percentage
Save locations to JSON
Get the current location