SetLocationHash Op
sets window.location.hash to the specified value(s)
Summary (oneliner)
<p>allows to manipulate window.location.hash to store data in the url without reloading the page.</p> <p>given a hash in the first parameter, the op will simply replace the whole part behind the # in the url with the given hash.</p>
- 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
<p>new value for window.location.hash (without the #)</p>
<i>boolean</i>
)<p>active/inactive</p>
<i>boolean</i>
)<p>make event not trigger LocationHashRoute op</p>
<i>boolean</i>
)<p>allow for setting an empty hash, usually triggers a page reload</p>