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

callback for page change #19

Open
BalduinLandolt opened this issue Aug 14, 2021 · 0 comments
Open

callback for page change #19

BalduinLandolt opened this issue Aug 14, 2021 · 0 comments
Labels
enhancement New feature or request hacktoberfest Hacktoberfest is a celebration open to everyone in our global community.

Comments

@BalduinLandolt
Copy link

To me, an extremely useful feature would be, if I could find out on which the pdf currently is.

I see two options for that:

  1. the component forwards an event when the page changes, that indicates which page currently is selected.
  2. the component could accept a callback function as a parameter, that gets executed when the page changes.

But maybe there are better ways... I'm not really good with Svelte yet.

Would that be a feature you might consider implementing?
Or would a PR implementing this be considered?

@vinodnimbalkar vinodnimbalkar added enhancement New feature or request hacktoberfest Hacktoberfest is a celebration open to everyone in our global community. labels Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Hacktoberfest is a celebration open to everyone in our global community.
Projects
None yet
Development

No branches or pull requests

2 participants