Owen Conti
a6e070ac76
Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change.
2017-09-13 21:32:46 -06:00
Owen Conti
430e2a970f
Fixes #3596
...
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
2017-09-13 17:20:37 -06:00
Kyle Shockey
11c34d0348
Add docs
2017-07-14 03:25:10 -07:00
Kyle Shockey
2906bdd699
Fire layout updates before attempting to scroll (improves docExpansion:none support)
2017-07-14 02:45:40 -07:00
Kyle Shockey
8851b138f9
Add config switch for deep linking
2017-07-14 00:51:26 -07:00
Kyle Shockey
41ecceed87
Rewire operation/tag DOM ids; implement hash scroll-to
2017-07-14 00:46:21 -07:00
Kyle Shockey
79f91b2e3e
Rearrange isShownKey to make more sense
...
Tag then ID is closer to representing the underlying data structure
2017-07-14 00:19:02 -07:00
Kyle Shockey
d7f6355d85
add setHash helper
2017-07-14 00:08:47 -07:00
Kyle Shockey
617cf7c867
Update URL fragment when operations & tags are shown or hidden
2017-07-13 23:24:19 -07:00