angular / angular/components

docs(menu): add example of nested menus using dynamic data

オープン
#7,434 コメント 33 件 リアクション 7 件 担当者 0 名 GitHub で見る
area: material/menu docs feature help wanted P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

メニューのドキュメントから始め、そこにある静的なネストされたメニューの例を、ラジオボタンのドキュメントにある動的データのパターンと比較してください。利用可能であれば、報告されている StackBlitz デモを確認してください。メニューのドキュメントに、データ構造から構築された動作するネストされたメニューの例が含まれ、その動作が例から明確に分かれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
documentation, frontend
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。