Background image position options instead of center
@strausr đang làm issue này rồi.
Từ ngày 20/12/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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}`);
- Ngôn ngữ chính
- TypeScript
- Star
- 303
- Fork
- 224
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudinary/cloudinary_angular
-
No documentation to change domain and subdomainCó thể làm lại được @shirlymanor đã nhận 2290 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_angular#293 · 6 bình luận · 2 người được giao ·
-
after updating latest versionCó thể làm lại được @shirlymanor đã nhận 2290 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_angular#292 · 2 bình luận · 2 người được giao ·
-
Images not showing in Chrome v80 when loading="lazy"Có thể làm lại được @strausr đã nhận 2466 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_angular#250 · 5 bình luận · 1 người được giao ·
-
cl-image ignores a cl-transformation if it has an ng-ifCó thể làm lại được @eitanp461 đã nhận 3344 ngày trước và không có pull request nào đang mở. Đang mởbug
cloudinary/cloudinary_angular#105 · 5 bình luận · 1 người được giao ·
Tất cả issue của cloudinary/cloudinary_angular
Issue tương tự
-
area:docs documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 12 ngày
-
area:docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
thainanluiz/TSSuper#30 ·
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
amplitude/Amplitude-TypeScript#2179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
ci good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
TMHSDigital/GH-Arcade#111 ·