angular / angular/components

Document how to use secondary actions in lists

Offen
#6,398 10 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: material/list docs feature help wanted needs: discussion P4
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

#### 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.)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der List-Dokumentation und den Beispielen unter material.angular.io/components/list/overview und vergleiche anschließend die im Issue verlinkten Material 1-List-Beispiele, insbesondere das Beispiel für eine sekundäre Aktion mit md-secondary. Als abgeschlossen gilt die Aufgabe, wenn die Angular Material-List-Dokumentation eine oder mehrere unterstützte Schaltflächen oder Informationen für sekundäre Aktionen demonstriert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
documentation, frontend
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.