angular / angular/components

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

Offen
#15,478 10 Kommentare 35 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: material/stepper feature P3
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

#### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.