does not have access to window.location.hash changing
See original GitHub issueit('should trigger window.location to be the value of the hash', function() {
window.location.hash = home;
console.log(window.location.hash); // (nothing)
});
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How can I update window.location.hash without jumping the ...
However, when I update the hash, the browser jumps to the location. I guess this is expected behaviour. My question is: how can...
Read more >location.hash - Web APIs | MDN
The hash property of the Location interface returns a string containing a '#' followed by the fragment identifier of the URL — the...
Read more >What is window.location.hash in JavaScript? - Educative.io
The window.location.hash returns a string that contains a # along with the fragment identifier of the URL. The fragment identifier of the URL...
Read more >window.location Cheatsheet | SamanthaMing.com
So host will include the port number, whereas hostname will only return the host name. # How to change URL properties. Not only...
Read more >Location hash Property - W3Schools
Window location.hash ... Get the anchor part of the URL: ... When location.hash is used to set the anchor part, do not include...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, I just tried it out and it doesn’t seem to work at all,
#
or not…This issue might shed some light on the matter: https://github.com/tmpvar/jsdom/issues/1300
Let me also add that you can raise this concern over at tmpvar/jsdom.