• 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

50.0
/src/tabs/tab-content.component.ts
1
import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewEncapsulation } from '@angular/core';
2
import { NgIf, NgTemplateOutlet } from '@angular/common';
3

4
/**
5
 * @private
6
 */
7
@Component({
1✔
8
    selector: 'thy-tab-content, [thyTabContent]',
9
    exportAs: 'thyTabContent',
×
10
    preserveWhitespaces: false,
×
11
    encapsulation: ViewEncapsulation.None,
×
12
    changeDetection: ChangeDetectionStrategy.OnPush,
13
    template: `
1✔
14
        <ng-container *ngIf="active">
15
            <ng-template [ngTemplateOutlet]="content"></ng-template>
16
        </ng-container>
17
    `,
18
    host: {
19
        class: 'thy-tab-content',
1✔
20
        '[attr.aria-hidden]': '!active',
21
        '[attr.tabindex]': 'active ? 0 : -1',
22
        '[style.visibility]': 'tabPaneAnimated ? active ? null : "hidden" : null',
23
        '[style.height]': 'tabPaneAnimated ? active ? null : 0 : null',
24
        '[style.overflow-y]': 'tabPaneAnimated ? active ? null : "none" : null',
25
        '[style.display]': '!tabPaneAnimated ? active ? null : "none" : null'
26
    },
27
    standalone: true,
28
    imports: [NgIf, NgTemplateOutlet]
29
})
30
export class ThyTabContentComponent {
31
    @Input() content: TemplateRef<void> | null = null;
32

33
    @Input() active = false;
34

35
    @Input() tabPaneAnimated = true;
36
}
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