Open asvae opened 2 years ago
We thought to do a separate component for this, it's unclear implementation wise though.
Maybe we can do this data driven way. If not - we can always retort to direct dom checking. Also please check refs (all frameworks are doing that) as to not to reinvent a wheel.
After research i suggest the following:
Implementation notes:
intersection observer
which will be useful to track current active toc item (https://quasar.dev/vue-directives/intersection & https://vuetifyjs.com/en/directives/intersect/);docs-headline
components) and rendering via v-for
+ intersection observer (docs pages are already contain anchors for transition);Code refs:
@xx13 we need design for this (including mobile begaviour).
Refs:
All of our competitors have some sort of navigation on the page and I can see a lot of value from it going forward.
Refs