Module percy_dom::single_page_app
source · Expand description
Utilities for single page applications.
Functions
- Ensures that anytime a link such as
<a href="/foo" />
is clicked we call the provided callback with “/foo”. - Set a function to be called with the new path whenever a popstate event occurs on the window.