Add `completed` event for stepper / steps
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
#### Bug, feature request, or proposal:
Proposal
#### What is the expected behavior?
Optionally allow the consumer define if it wants to auto-advance an step when it completes (by using [completed] step property)
#### What is the current behavior?
Nothing happens as soon the step is marked as completed
#### What is the use-case or motivation for changing an existing behavior?
Use Observable based state such as NgRx stores, and in a more functional way allow set the stepper navigation based on state, now I have to subscribe to store and call navigation via an stepper instance in order to handle steps advance, too imperatively and also results in a awful timing issues because when stepper.next() is called and [completed] property update is on its way nothing happens.
#### Is there anything else we should know?
I'm willing to implement such feature. No breaking changes would be introduced.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le point d’entrée du composant stepper/steps de Angular Material et examinez la manière dont sont gérées la propriété existante des étapes terminées et la navigation. Clarifiez le contrat d’auto-avancement optionnel, son interaction avec les mises à jour d’état et la couverture de régression nécessaire ; le travail est considéré comme terminé lorsque le comportement est opt-in et ne casse pas la navigation existante.
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é
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100