docs(menu): add example of nested menus using dynamic data
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### 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!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla documentazione del menu e confronta il suo esempio statico di menu nidificato con il pattern dei dati dinamici nella documentazione dei pulsanti radio. Esamina la demo StackBlitz segnalata, se disponibile. Il lavoro è considerato completato quando la documentazione del menu include un esempio funzionante di menu nidificato costruito a partire da una struttura dati, con un comportamento chiaro dall’esempio.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- documentation, frontend
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100