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

atinc / ngx-tethys / 0bbb2cec-209e-4d8a-b1b3-6bc54e05daa6

04 Sep 2023 08:40AM UTC coverage: 15.616% (-74.6%) from 90.2%
0bbb2cec-209e-4d8a-b1b3-6bc54e05daa6

Pull #2829

circleci

cmm-va
fix: add test
Pull Request #2829: fix: add tabIndex

300 of 6386 branches covered (0.0%)

Branch coverage included in aggregate %.

78 of 78 new or added lines in 26 files covered. (100.0%)

2849 of 13779 relevant lines covered (20.68%)

83.41 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

© 2026 Coveralls, Inc