CDK Table: `cdk-thead` directive
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Bug, feature request, or proposal:
Feature Request
#### What is the expected behavior?
CDK Tables - optional exposure of the ``/``/`` in the template via a `cdk-thead`/`cdk-tbody`/`cdk-tfoot` directive.
I would expect the something like the following template to be supported:
``` html
User name
{{row.username}}
```
[Expanded on from the template provided in the overview]
#### What is the current behavior?
The tags are not [documented as?] something that you can place inside the cdk-table template.
#### What are the steps to reproduce?
n/a
#### What is the use-case or motivation for changing an existing behavior?
CDK Tables are awesome for un-opinionated tables, especially given their easy integration with external CSS frameworks like bootstrap. Lack of access easy access to ``/``/`` in the template feels then like something of a gap given what CDK-tables seem to be trying to achieve, and its ability to support a CSS framework that applies classes to these tags.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
n/a
#### Is there anything else we should know?
n/a
コントリビューションガイド
調査の方向性
まず Angular CDK のテーブル実装と既存の行およびセルのディレクティブを読み、テーブルセクションがどのように扱われているかを理解します。テンプレートで関連する行を cdk-thead、cdk-tbody、cdk-tfoot で任意に囲めるようになり、それらの要素に属性とクラスを指定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100