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

貢獻者指南