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

Clicking a link in the pdf performs a page change but does not emit a (pageChange) event #474

Closed
NeuralNett opened this issue May 8, 2019 · 2 comments
Milestone

Comments

@NeuralNett
Copy link

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [X] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

Hi there, i'm trying to keep track of the new page number after using in-document links with the following configuration:

[src]="pdfSource" [(page)]="currentPage" (after-load-complete)="pdfLoaded($event)" (pageChange)="pdfPageChange($event)" [show-all]="false" [render-text]="true" [original-size]="false" [fit-to-page]="true"

Clicking a link in the pdf document jumps to the correct page, but does not emit a (pageChange) event and doesn't seem to update the [(page)] either.
(page-rendered) emits events only on initial page render, but not if a page is revisited.

Would you be able to extend the (pageChange) event emitter to capture link clicks?

@marabu-edv
Copy link

Hello, do you intend to implement this enhancement in the near future?

@VadimDez
Copy link
Owner

Released in 5.3.3

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

No branches or pull requests

3 participants