vue2-scrollspy icon indicating copy to clipboard operation
vue2-scrollspy copied to clipboard

Get active element

Open enkhtulga opened this issue 5 years ago • 1 comments

Describe what you want:

Can i get DOM element which has 'acitve' class?

enkhtulga avatar May 02 '19 05:05 enkhtulga

Probably via the 'section' data. See the example (https://jsfiddle.net/ibufu/nw0zczLx/). You have to make 'section' in your data; scrollspy changes the 'section' according to which slide is active.

janeschindler avatar Jul 28 '20 09:07 janeschindler