You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We might also allow the request to take the event parameter so we can do:
$("a").on("click",navigator.request);
In that case the navigator should prevent the default, find out the href of the clicked element and set that state. Prior to preventing the default we might want to check first if it will be a valid state to navigate to?
This provides a convenient way to request states from anchors on the page. But maybe navigator.request() starts to do too much magic?
The text was updated successfully, but these errors were encountered:
We might also allow the request to take the event parameter so we can do:
In that case the navigator should prevent the default, find out the href of the clicked element and set that state. Prior to preventing the default we might want to check first if it will be a valid state to navigate to?
This provides a convenient way to request states from anchors on the page. But maybe
navigator.request()
starts to do too much magic?The text was updated successfully, but these errors were encountered: