SetLocationHash Op
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.
- Ops.Website.SetLocationHash
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch LocationHash Example
how to use the browser location bar to navigate and create deeplinks
Youtube Video Tutorial
INPUT PORTS
new value for window.location.hash (without the #)
active/inactive
make event not trigger LocationHashRoute op
allow for setting an empty hash, usually triggers a page reload