bug(COMPONENT): docs components/tree/examples Tree with dynamic data esample FlatTreeControl deprecated
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
docs components/tree/examples Tree with dynamic data esample FlatTreeControl deprecated
### Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
### Expected Behavior
New Example Method
### Actual Behavior
FlatTreeControl is deprecated
Flat tree control. Able to expand/collapse a subtree recursively for flattened tree.
@deprecated
Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
@breaking-change — 21.0.0
### Environment
- Angular: 18
- CDK/Material:18
- Browser(s): edge
- Operating System (e.g. Windows, macOS, Ubuntu): windows
コントリビューションガイド
調査の方向性
docs components/tree/examples から始め、FlatTreeControl を使用している Tree with dynamic data の例を調べます。非推奨のアプローチを、ドキュメントに記載されている levelAccessor または childrenAccessor メソッドに置き換え、その後も例が動的なフラットツリーの展開と折りたたみを示していることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- documentation, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100