ibufu / vue2-scrollspy

Scrollspy for Vue2
https://ibufu.github.io/vue2-scrollspy/
MIT License
135 stars 32 forks source link

Can't set custom active class #15

Closed henrikruscon closed 6 years ago

henrikruscon commented 6 years ago

v-scroll-spy-active="{selector: 'li.menu-item', class: 'custom-active'}" Doesn't appear to work. Can't set a custom class, even looking at the source it looks like it's setting active without even checking for config option.

Is this worked as expected? ✌️

ibufu commented 6 years ago

fixed.