Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpers for publication start and end #65

Open
JayPanoz opened this issue Oct 9, 2024 · 1 comment
Open

Helpers for publication start and end #65

JayPanoz opened this issue Oct 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JayPanoz
Copy link
Contributor

JayPanoz commented Oct 9, 2024

It could help implementers if Navigator could return whether a publication is at the start or the end in a reliable manner.

Although it’s possible to implement different strategies at the app level, we know it’s also difficult to do it for end since progression is never 100%, a position may be spread on 2 pages, etc. This is why the additional information Navigator gets privately could help determine these 2 states more reliably.

Use cases include:

  • disabling navigation arrows while at start (left in LTR) or the end (right LTR);
  • marking the publication as read
  • Moving to the next publication in a series
@JayPanoz JayPanoz added the enhancement New feature or request label Oct 9, 2024
@mickael-menu
Copy link
Member

This is also something that we've been requested on mobile toolkits. I thought of adding information about the column index + column count of the current resource in the "moved" event.

Caveat: Many books actually end much before the end of the reading order. Here landmarks would be more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants