angular/components

Document how to use secondary actions in lists

开放

#6,398 创建于 2017年8月10日

 (10 条评论) (5 个反应) (0 位负责人)TypeScript (6,650 个派生)batch import
P4area: material/listdocsfeaturehelp wantedneeds: discussion

仓库指标

星标
 (24,044 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

What is the current behavior?

The List documentation and examples do not show secondary actions.

Is there anything else we should know?

The documentation for Lists in Material 1 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.)

贡献者指南