sets window.location.hash to the specified value(s)
summary (oneliner)
allows to manipulate window.location.hash to store data in the url without reloading the page.
given a hash in the first parameter, the op will simply replace the whole part behind the # in the url with the given hash.
doc
issues
youtube id
caniuse query
collections
Inputs
Hash (String)
new value for window.location.hash (without the #)
Update (Trigger)
Active (boolean /Number)
active/inactive
Silent (boolean /Number)
make event not trigger LocationHashRoute op
Allow Empty (boolean /Number)
allow for setting an empty hash, usually triggers a page reload
Changelog
created op
2021-03-30 - stephan
added lib: navigo.js
2021-03-30 - stephan
Ops.User.stephan.SetLocationHash renamed to Ops.Website.SetLocationHash
2021-03-30 - stephan
2021-03-30 - stephan
added lib: navigo.js
2021-03-30 - stephan
Ops.User.stephan.SetLocationHash renamed to Ops.Website.SetLocationHash
2021-03-30 - stephan