Background image position options instead of center
@strausr 已经在做这个了。
开始于 2020年12月20日。
评估
这个 Issue 还没有评估数据。
描述
Explain your use case
There are many cases where 'center center' is not ideal for background positions as defined in the background image directive. https://github.com/cloudinary/cloudinary_angular/blob/master/projects/angular-cld/src/lib/cloudinary-background-image.directive.ts
Describe the problem you’re trying to solve
A way to provide an override without some css !important hack to control image position.
Do you have a proposed solution?
Input param for background position, defaults to center
@Input('clbackgroundposition') background_position = 'center center';
...
this.renderer.setStyle(nativeElement, 'background-position', `${background_position}`);
- 主要语言
- TypeScript
- 星标
- 303
- 派生
- 224
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudinary/cloudinary_angular 的其他 Issue
-
No documentation to change domain and subdomain可能重新可做 @shirlymanor 于 2290 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_angular#293 · 6 条评论 · 已指派 2 人 ·
-
after updating latest version可能重新可做 @shirlymanor 于 2290 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_angular#292 · 2 条评论 · 已指派 2 人 ·
-
Images not showing in Chrome v80 when loading="lazy"可能重新可做 @strausr 于 2466 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_angular#250 · 5 条评论 · 已指派 1 人 ·
-
cl-image ignores a cl-transformation if it has an ng-if可能重新可做 @eitanp461 于 3344 天前认领,目前没有进行中的 PR。 未关闭bug
cloudinary/cloudinary_angular#105 · 5 条评论 · 已指派 1 人 ·
查看 cloudinary/cloudinary_angular 的全部 Issue
相似的 Issue
-
area:docs documentation good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 12 天内回复
-
area:docs good first issue
难度 2/5 1-3 小时 新手友好度 62/100
thainanluiz/TSSuper#30 ·
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
amplitude/Amplitude-TypeScript#2179 · 1 条评论 ·
维护者通常 2 天内回复
-
ci good first issue severity: low
难度 2/5 1-3 小时 新手友好度 68/100
TMHSDigital/GH-Arcade#111 ·