Function percy_dom::single_page_app::intercept_relative_links
source · pub fn intercept_relative_links<F: FnMut(String) + 'static>(
on_anchor_tag_click: F
)
Expand description
Ensures that anytime a link such as <a href="/foo" />
is clicked we call the provided
callback with “/foo”.