gabergg / react-scrollable-anchor

Smooth scrolling anchors bound to URL hash
MIT License
291 stars 89 forks source link

How to get the current Url Hash? #55

Open anish-stha opened 6 years ago

anish-stha commented 6 years ago

I need to do things based on which section I am currently on. Can I get the hash without displaying it in the url?

alisonjonck commented 5 years ago

location.hash