angular / angular/components

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

Abierto
#15,478 10 comentarios 35 reacciones 0 asignados Ver en GitHub
area: material/stepper feature P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.