-
Notifications
You must be signed in to change notification settings - Fork 91
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
[Question] Custom ScrollController with Toc #27
Comments
but if you want your own |
What if add the current position checker to the TOC controller? |
I tried to use this construction:
to get the index of current widget, but it is updated when the TOC header changes. |
I think this is unnecessary, because |
But if I have one header then how to get the index of the current widget? |
What dose |
You can refer to how I did it in the example |
There is no solution to my problem here. When i leave from page i wanna to save current position. And when i use like this: |
if there is only one title, the index will only be |
Ow. So it turns out I don't have the ability to get the current position with TOC controller? 0: |
I don't understand what you want to get, maybe you mean |
you mean you want to get current index in all |
all |
can u provide example how to use it? I don't understand how to use this. |
all samples are there: https://github.com/asjqkkkk/markdown_widget/tree/master/example |
I need to use my ScrollController and I still want to add Toc support😥. how can I implement this? Preferably with an example.
The text was updated successfully, but these errors were encountered: