angular / angular/components

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

Ouverte
#15,478 10 commentaires 35 réactions 0 personnes assignées Voir sur GitHub
area: material/stepper feature P3
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.