How to get actual hash when scrolling
MateuszRyaN opened this issue · 2 comments
MateuszRyaN commented
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 }
davist11 commented
You can put whatever code you want to execute inside that function.
jacksonkr commented
@MateuszRyaN I think you're looking for a window.location.hash = "hash-name";
or similar.