Working deep-link reference for kicad-embed#106
Working deep-link reference for kicad-embed#106Ozuba wants to merge 2 commits intotheacodes:mainfrom
Conversation
|
Thanks for doing this! It's a great start, but one thing I'd like to see is being able to deep link to |
Yeah thats exactly what i tried to do at first, but i saw files are stored in a map with a uuid path like |
|
Its finally working, with the Not the most elegant solution as i had to expose a method to re-create the barrier each time i try to load a new document to the viewer in order to be able to await for the loading before selecting the element, as i cant figure out how |
Hey i tried to add the deep-linking feature for kicanvas-embed, its my first real typescript work but i think it works.
I added a new event listener
hashchangethat triggers ahandleDeepLinkfunction, that checks the currently loadedpage and tries to focus on the specified reference using the planned format that docs mention
#id:reference