jQuery-One-Page-Nav icon indicating copy to clipboard operation
jQuery-One-Page-Nav copied to clipboard

How to get actual hash when scrolling

Open MateuszRyaN opened this issue 7 years ago • 2 comments

how to use this method?? I need to do action when scroll is change to other section scrollChange: function($currentListItem) { //I get fired when you enter a section and I pass the list item of the section }

MateuszRyaN avatar Jan 31 '18 14:01 MateuszRyaN

You can put whatever code you want to execute inside that function.

davist11 avatar Feb 01 '18 19:02 davist11

@MateuszRyaN I think you're looking for a window.location.hash = "hash-name"; or similar.

jacksonkr avatar Jul 26 '19 18:07 jacksonkr