angular / angular/components

mat-stepper: Allow custom CSS classes for mat-step-header

Aperta
#15,478 10 commenti 35 reazioni 0 assegnatari Vedi su GitHub
area: material/stepper feature P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

#### Please describe the feature you would like to request.
Please add API to add custom css classes to `mat-step-header`.

#### What is the use-case or motivation for this proposal?
We want to set custom cursor for disabled steps in linear stepper.

#### Is there anything else we should know?
Disabled steps have the same hover and click animations, it would be nice to be able to customize them. But I guess there is other issue for that. And custom css classes would also help with this.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the mat-step-header entry point and inspect how the stepper exposes header configuration and styling. Determine how custom CSS classes should be supplied and applied, then verify that the classes are present on step headers, including disabled steps, with focused component tests.

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

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.