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

atinc / ngx-tethys / a471af92-5b42-4cf9-bc34-baa8632b60c1

05 Aug 2024 08:33AM UTC coverage: 90.468%. Remained the same
a471af92-5b42-4cf9-bc34-baa8632b60c1

push

circleci

minlovehua
fix: fix review

5498 of 6722 branches covered (81.79%)

Branch coverage included in aggregate %.

13246 of 13997 relevant lines covered (94.63%)

997.56 hits per line

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

36.36
/src/shared/ng-transclude.directive.ts
1
import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core';
2

3
/**
4
 * @private
5
 */
6
@Directive({
1✔
7
    selector: '[thyTransclude]',
8
    standalone: true
×
9
})
×
10
export class ThyTranscludeDirective {
×
11
    viewRef: ViewContainerRef;
12

13
    protected _viewRef: ViewContainerRef;
14
    protected _ngTransclude: TemplateRef<any>;
×
15

16
    @Input()
17
    set thyTransclude(templateRef: TemplateRef<any>) {
×
18
        this._ngTransclude = templateRef;
19
        if (templateRef) {
1✔
20
            this.viewRef.createEmbeddedView(templateRef);
21
        }
22
    }
1✔
23

24
    get thyTransclude(): TemplateRef<any> {
25
        return this._ngTransclude;
26
    }
1✔
27

28
    constructor(viewRef: ViewContainerRef) {
29
        this.viewRef = viewRef;
30
    }
31
}
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