angular / angular/components

Active style for mat-nav-list

Aperta
#13,084 10 commenti 23 reazioni 0 assegnatari Vedi su GitHub
area: material/list G P4
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

There's a theme-specific active style for navigation items in a nav drawer:

https://material.io/design/components/navigation-drawer.html#standard-drawer

(Note the way "inbox" is highlighted, because that's the section we're currently in).

However, there's no way to achieve this style in Angular Material. Ideally, there'd be a way to do this with routerLinkActive on a mat-nav-list.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the mat-nav-list entry point and how routerLinkActive applies to navigation items, then compare the requested behavior with the linked Material Design navigation-drawer example. Done means Angular Material provides a documented way to show the active navigation section with the requested theme-specific styling.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.