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

worktile / ngx-gantt / 361f09f0-f4b1-4c32-973d-b9b7c9694037

17 Aug 2023 07:51AM UTC coverage: 72.137% (+0.6%) from 71.511%
361f09f0-f4b1-4c32-973d-b9b7c9694037

Pull #414

circleci

HandsomeButterball
build: bump angular 16 #INFR-9186
Pull Request #414: build: bump angular 16 #INFR-9186

342 of 593 branches covered (57.67%)

Branch coverage included in aggregate %.

1403 of 1826 relevant lines covered (76.83%)

862.3 hits per line

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

80.0
/packages/gantt/src/components/icon/icon.component.ts
1
import { Component, Input, ElementRef, HostBinding } from '@angular/core';
2
import { icons } from './icons';
3

4
@Component({
5
    selector: 'gantt-icon',
6
    template: ''
7
})
8
export class GanttIconComponent {
1✔
9
    @HostBinding('class.gantt-icon') isIcon = true;
197✔
10

11
    @Input() set iconName(name: string) {
12
        this.setSvg(name);
206✔
13
    }
14

15
    constructor(private elementRef: ElementRef<HTMLElement>) {}
197✔
16

17
    setSvg(name: string) {
18
        const iconSvg = icons[name];
206✔
19
        if (iconSvg) {
206!
20
            this.elementRef.nativeElement.innerHTML = iconSvg;
206✔
21
        } else {
22
            this.elementRef.nativeElement.innerHTML = '';
×
23
        }
24
    }
25
}
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