I have built a single page application using VueJS. There are multiple sections with IDs. In the header I have an <a>
tag that links to the corresponding IDs in order to simulate a (sticky) header (-> the header is visible throughout the whole page)
I would like to highlight the current section that the user is looking at. Is there any convenient way (preferably using Vue) to get the nearest/visible/currently active section?