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 on highlighter deserialize #379

Open
axul opened this issue Mar 5, 2016 · 1 comment
Open

Callback on highlighter deserialize #379

axul opened this issue Mar 5, 2016 · 1 comment

Comments

@axul
Copy link

axul commented Mar 5, 2016

I'm using rangy highlighter on a view with a lot of content, and I also have a view with a list of selections made by the user. With my app, I can tap or click on a selection within the list, and It will take me to the text view and scroll down to the selection I choosed. The thing is I can't scroll down to my selection if rangy is still deserializing after the view loads. It will be nice implementing a callback to highlighter.deserialize() (and other heavy funcs) so when the all the highlights are in the text, the page can scroll down to the chosen highlight.

@axul
Copy link
Author

axul commented Mar 12, 2016

pull request with the callback #380

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

No branches or pull requests

1 participant