Norigin-Spatial-Navigation icon indicating copy to clipboard operation
Norigin-Spatial-Navigation copied to clipboard

Get current focusKey on beforePopState

Open babysteps opened this issue 1 year ago • 0 comments

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!

babysteps avatar Aug 30 '22 23:08 babysteps