angular / angular/components

feat(MatTooltip): Add support for rich tooltips (popups)

未关闭
#29,045 2 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看
feature P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Feature Description

Please, add support for rich tooltips (popups).
They're [described](https://m3.material.io/components/tooltips/overview) in M3 standard.

![image](https://github.com/angular/components/assets/17651943/c5ca98c7-227b-49ae-be7a-48c492636b83)

Existing tooltip and menu components are not enough for feature-rich web apps.

### Use Case

* Hover/click a table cell or any other element to display more info via a custom component or a template ref.
* Use it as a menu that won't be closed after clicking a menu item

贡献指南

打开贡献指南

调研方向

首先查看链接的 M3 tooltip 规范以及现有的 tooltip 和 menu 组件。定义从悬停或点击的元素显示自定义组件或模板的范围和 API,包括在点击菜单项后仍保持打开的菜单行为;支持这些用例即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。