• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / d9ae709b-3c27-4b69-b125-b8b80b54f90b

pending completion
d9ae709b-3c27-4b69-b125-b8b80b54f90b

Pull #2757

circleci

mengshuicmq
fix: fix code review
Pull Request #2757: feat(color-picker): color-picker support disabled (#INFR-8645)

98 of 6315 branches covered (1.55%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

2392 of 13661 relevant lines covered (17.51%)

83.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

36.36
/src/rate/examples/template/template.component.ts
1
import { AfterViewInit, ChangeDetectionStrategy, Component, TemplateRef, ViewChild } from '@angular/core';
2

3
@Component({
4
    selector: 'thy-rate-template-example',
1✔
5
    templateUrl: './template.component.html',
6
    changeDetection: ChangeDetectionStrategy.OnPush
×
7
})
×
8
export class ThyRateTemplateExampleComponent implements AfterViewInit {
×
9
    @ViewChild('icon1') icon1: TemplateRef<any>;
×
10

×
11
    @ViewChild('icon2') icon2: TemplateRef<any>;
12

13
    @ViewChild('icon3') icon3: TemplateRef<any>;
×
14

×
15
    @ViewChild('icon4') icon4: TemplateRef<any>;
16

1✔
17
    @ViewChild('icon5') icon5: TemplateRef<any>;
1✔
18

19
    value = 1;
20

21
    icon = 'smile';
22

23
    icons = ['angry', 'angry', 'expressionless', 'smile', 'smile'];
24

25
    templates: TemplateRef<any>[] = null;
1✔
26

27
    template: TemplateRef<any> = null;
28

29
    constructor() {}
30

31
    ngAfterViewInit(): void {
32
        this.templates = [this.icon1, this.icon2, this.icon3, this.icon4, this.icon5];
33
        this.template = this.icon5;
34
    }
35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc