angular / angular/components

Document how to use secondary actions in lists

Aperta
#6,398 10 commenti 5 reazioni 0 assegnatari Vedi su GitHub
area: material/list docs feature help wanted needs: discussion P4
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

#### Bug, feature request, or proposal:

Improved documentation

#### What is the expected behavior?

It should be possible to include one or more buttons (or "infos") as a secondary action in a list item [per the spec](https://material.io/guidelines/components/lists-controls.html).

#### What is the current behavior?

The [List documentation and examples](https://material.angular.io/components/list/overview) do not show secondary actions.

#### Is there anything else we should know?

The [documentation for Lists in Material 1](https://material.angularjs.org/latest/demo/list) show extensive examples, including (at the very end) the use of multiple secondary actions, via the `md-secondary` class. I'm guessing this is probably already possible in Material 2 but I can't figure out how. (For the time being, I'm hacking it together with manual `float:right` and some margin twiddling.)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dalla documentazione e dagli esempi di List all’indirizzo material.angular.io/components/list/overview, quindi confronta gli esempi di liste di Material 1 collegati nell’issue, in particolare l’esempio di azione secondaria che usa md-secondary. Il lavoro è completato quando la documentazione delle liste di Angular Material dimostra uno o più pulsanti o informazioni di azione secondaria supportati.

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
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.