OGE logoOGE

Routed tabs

Some references ship a separate tab-nav-bar component for router-driven tabs. <oge-tabs> needs no variant: bind selectedKey one-way from the URL and navigate in selectionChanged. Keyboard support, overflow and closable tabs all keep working, and the panels come from <router-outlet> instead of the component.

router-outlet selectedKey deep links

Router-driven selection

The strip never owns the selection here — it reflects the active route and asks the router to change it. Because selectedKey is matched by key (not index), routes can be reordered or added without touching the binding.

URL is the source of truth Back/Forward works

Overview — rendered by the router into <router-outlet>, not by the tab strip.