vue2-scrollspy
vue2-scrollspy copied to clipboard
Question: Is it possible to skip a section?
First of all I want to mention that I have read this: You should have the same number of children elements for v-scroll-spy, v-scroll-spy-active v-scroll-spy-link for directives to work properly.
But I'm still wondering if there is a work around where I can tell vue2-scrollspy to skip a section? Right now I have following layout:
<div class="fluid-container" v-scroll-spy="{offset: 90}">
<Lead />
<What />
<Gamers />
<Brands />
<Services />
<AboutUs />
<Contact />
</div>
Each component is a section, and everything is a menu item except 'What' which I'm trying to skip.
I read the docs a few times but I'm not really getting what following options do:
- data: 'section'
- allowNoActive
- v-section-selector
I thought that when I mark the sections I want to be scrollable to with 'v-section-selector' it would work but it doesn't seem like it? If none of the options are capable of what I want to do can you propose a workaround that I can use?
Thanks in advance!
PS. Nice work on the library :)
@ibufu any updates on this issue? I'm stuck with a similar scenario.
@ibufu any updates on this issue? I'm stuck with a similar scenario.
What is the meaning of skip?