interceptLinks
interceptLinks():
void
Defined in: route.ts:432
Intercept clicks and Enter key presses on links (<a> tags) and use Aberdeen routing
instead of browser navigation for local paths (paths without a protocol or host).
This allows you to use regular HTML anchor tags for navigation without needing to manually attach click handlers to each link.
Returns
Section titled “Returns”void
Example
Section titled “Example”// In your root component:route.interceptLinks();
// Now you can use regular anchor tags:A('a text=About href=/corporate/about');