angular / angular/components

(Feature Request) MdDialog: Define a class for global overlay wrapper

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

描述

In MdDialog we can define in configs a class for overlay panel(`panelClass`) and backdrop(`backdropClass`), but we can not define a class for the wrapper.

The existent parameters are not enough to customize the dialog. Can we have a new parameter like `wrapperClass` for `.cdk-global-overlay-wrapper`?

贡献指南

打开贡献指南

调研方向

从 issue 中提到的 MdDialog 配置和 .cdk-global-overlay-wrapper 开始,然后比较 panelClass 和 backdropClass 的应用方式。完成标准是可以提供 wrapperClass 选项,并且该选项会影响 global overlay wrapper,同时与现有的对话框配置行为一起具有覆盖率。

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

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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