vueuse icon indicating copy to clipboard operation
vueuse copied to clipboard

feat(useHash): new function

Open michealroberts opened this issue 3 years ago • 3 comments

Added a reactive useHash function which can reactive two-way bind the window.location.hash to a hash Vue ref().

michealroberts avatar Jan 04 '22 17:01 michealroberts

Seems like this is already covered by https://vueuse.org/core/useBrowserLocation/?

wheatjs avatar Jan 04 '22 20:01 wheatjs

@wheatjs Yeh fair, I was looking at specifics around hash internal routing ... and making it easy to implement (we implement it all the time in landing pages).

I'm happy to close this issue if you feel it is superfluous to useBrowserLocation() composable ...

michealroberts avatar Jan 05 '22 09:01 michealroberts

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 14 '22 16:09 stale[bot]