CDK Table: `cdk-thead` directive
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo l'implementazione della tabella Angular CDK e le direttive esistenti per righe e celle, per capire come vengono gestite le sezioni della tabella. Il lavoro è completo quando i template possono usare facoltativamente cdk-thead, cdk-tbody e cdk-tfoot intorno alle righe pertinenti, inclusi attributi e classi su questi elementi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100