Norigin-Spatial-Navigation
Norigin-Spatial-Navigation copied to clipboard
Get current focusKey on beforePopState
I would like to store the current focusKey in session storage before navigating to a new page (during the beforePopState event), so that I can setFocus() to that focusKey when returning to the page. I know that the debug mode is spitting this info out to the console, but how can i get it programmatically?
Thanks for such an awesome library!