Skip to content

Feature Request: Ability to detect scroll events #702

Description

@lbeus

I'm integrating native player which is supposed to be used to play audio resources which are distributed as part of EPUB document and referenced in reading order documents. Player preview is supposed to hide/show as you scroll vertically up/down through XHTML document.

Suggestion is to add scroll callback method to VisualNavigatorDelegate as implemented in PR
func navigator(_ navigator: any VisualNavigator, didScrollIn direction: ScrollDirection)

One more use case where this event could be used is when integrating app analytics with the reader.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions