docs(menu): add example of nested menus using dynamic data
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
Feature Request - Menu Docs
#### What is the expected behavior?
The docs would include an example of building a menu from a data structure similar to the [radio button docs](https://material.angular.io/components/radio/examples).
#### What is the current behavior?
The [menu docs](https://material.angular.io/components/menu/overview) only include a nested menu example using static HTML.
#### What are the steps to reproduce?
Working on a Stackblitz demo atm...
#### What is the use-case or motivation for changing an existing behavior?
This is a common use case for building application menus, especially for business applications. The data may come from a config file, a REST API, or some other source but it is very often not static and does not align with a static HTML example.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.3
TypeScript 2.3.4
Chrome 61
OS X El Capitan
#### Is there anything else we should know?
Thank you for your hard work on this library!
Beitragsleitfaden
Rechercherichtung
Beginne mit der Menüdokumentation und vergleiche ihr statisches Beispiel für ein verschachteltes Menü mit dem Muster für dynamische Daten in der Dokumentation zu Radio Buttons. Überprüfe die gemeldete StackBlitz-Demo, falls verfügbar. Als abgeschlossen gilt die Aufgabe, wenn die Menüdokumentation ein funktionierendes Beispiel für ein verschachteltes Menü enthält, das aus einer Datenstruktur erstellt wird, und das Verhalten aus dem Beispiel klar hervorgeht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- documentation, frontend
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100