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

atinc / ngx-tethys / ba7e05e2-37c0-44c6-8725-6f617aa0d43e

pending completion
ba7e05e2-37c0-44c6-8725-6f617aa0d43e

Pull #2756

circleci

huanhuanwa
test(color-picker): add test #INFR-8673
Pull Request #2756: feat(color-picker): add popoverRef param when panel open and close #INFR-8673

187 of 6315 branches covered (2.96%)

Branch coverage included in aggregate %.

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

2645 of 13660 relevant lines covered (19.36%)

83.2 hits per line

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

21.43
/src/carousel/carousel-item.directive.ts
1
import { Directive, ElementRef, Renderer2 } from '@angular/core';
2

3
/**
4
 * @private
5
 */
6
@Directive({
1✔
7
    selector: '[thyCarouselItem],[thy-carousel-item]',
8
    exportAs: 'thyCarouseItem',
×
9
    standalone: true
×
10
})
×
11
export class ThyCarouselItemDirective {
12
    private _active = false;
13

×
14
    readonly el: HTMLElement;
15

16
    set isActive(value: boolean) {
17
        this._active = value;
×
18
        if (this.isActive) {
19
            this.renderer.addClass(this.el, 'thy-carousel-item-active');
20
        } else {
×
21
            this.renderer.removeClass(this.el, 'thy-carousel-item-active');
×
22
        }
×
23
    }
×
24

25
    get isActive(): boolean {
1✔
26
        return this._active;
27
    }
28

29
    constructor(elementRef: ElementRef, private renderer: Renderer2) {
30
        this.el = elementRef.nativeElement;
1✔
31
        this.renderer.addClass(elementRef.nativeElement, 'thy-carousel-item');
32
    }
33
}
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