Document how to use secondary actions in lists
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### 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.)
贡献指南
调研方向
先查看 material.angular.io/components/list/overview 上的 List 文档和示例,然后比较 issue 中链接的 Material 1 列表示例,尤其是使用 md-secondary 的 secondary action 示例。当 Angular Material 列表文档演示了一个或多个受支持的 secondary action 按钮或信息时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- documentation, frontend
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100