• 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

75.0
/src/comment/comment.component.ts
1
import { isTemplateRef } from 'ngx-tethys/util';
2
import { SafeAny } from 'ngx-tethys/types';
3
import { ChangeDetectionStrategy, Component, Input, TemplateRef } from '@angular/core';
4
import { ThyAvatarComponent } from 'ngx-tethys/avatar';
5
import { ThyStringOrTemplateOutletDirective } from 'ngx-tethys/shared';
6
import { NgIf, NgTemplateOutlet } from '@angular/common';
7

8
/**
9
 * 评论组件
10
 * @name thy-comment
11
 */
12
@Component({
1✔
13
    selector: 'thy-comment',
14
    templateUrl: './comment.component.html',
×
15
    host: {
16
        class: 'thy-comment'
1✔
17
    },
18
    changeDetection: ChangeDetectionStrategy.OnPush,
19
    standalone: true,
20
    imports: [NgIf, NgTemplateOutlet, ThyStringOrTemplateOutletDirective, ThyAvatarComponent]
21
})
22
export class ThyCommentComponent {
1✔
23
    /**
24
     * 展示评论作者
25
     */
26
    @Input() thyAuthor?: string | TemplateRef<SafeAny>;
27

28
    /**
29
     * 展示评论时间
30
     */
31
    @Input() thyDatetime?: string | TemplateRef<SafeAny>;
32

33
    /**
34
     * 展示评论作者头像
35
     */
36
    @Input() thyAvatar?: string | TemplateRef<SafeAny>;
37

38
    isTemplateRef = isTemplateRef;
39
}
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