Add `completed` event for stepper / steps
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### 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.
Beitragsleitfaden
Rechercherichtung
Beginne am Einstiegspunkt der Angular Material stepper/steps-Komponente und untersuche, wie die bestehende Eigenschaft für abgeschlossene Schritte und die Navigation behandelt werden. Kläre den optionalen Auto-Advance-Vertrag, sein Zusammenspiel mit Zustandsaktualisierungen und die erforderliche Regressionstestabdeckung; als erledigt gilt, dass das Verhalten opt-in ist und die bestehende Navigation nicht beeinträchtigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100