Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

How to get actual hash when scrolling #168

Open
MateuszRyaN opened this issue Jan 31, 2018 · 2 comments
Open

How to get actual hash when scrolling #168

MateuszRyaN opened this issue Jan 31, 2018 · 2 comments

Comments

@MateuszRyaN
Copy link

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
Copy link
Owner

davist11 commented Feb 1, 2018

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

@jacksonkr
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants