You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't know about booki.sh, but you could use something like
var locus = {
componentId: reader.getPlace().componentId(),
percent: reader.getPlace().percentageThrough()
}
/// or better
var locus = reader.getPlace().getLocus();
You can then use the 'locus' to move to that location in the book.
reader.moveTo(locus);
//which will go as
reader.moveTo({componentId:"components/3.html",percent:0.8});
If you want to persist the book mark, see the placesaver control to understand how to store in cookie or localStorage.
I'm trying to replicate booki.sh's use of bookmarks in their book.
Does anybody have any insight on how I can do this?
The text was updated successfully, but these errors were encountered: