Overview
Hash fragments let you navigate to specific sections within a page. The router parses the fragment and auto-scrolls to the matching element.
Features
Smooth scrolling, fragment tracking in the route object, and compatibility with both hash and history modes.
Setup
Use router.navigate('/page#section') or set the hash option in navigate. The router handles the rest.
API Reference
Access to.hash in route handlers and guards. Use getRouteUrl('name', params) and append hash fragments.