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 ·