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

atinc / ngx-tethys / #55

30 Jul 2025 07:08AM UTC coverage: 9.866% (-80.4%) from 90.297%
#55

push

why520crazy
feat(empty): add setMessage for update display text #TINFR-2616

92 of 6794 branches covered (1.35%)

Branch coverage included in aggregate %.

2014 of 14552 relevant lines covered (13.84%)

6.15 hits per line

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

80.0
/src/typography/text/text.component.ts
1
import { ChangeDetectionStrategy, Component, OnInit, input } from '@angular/core';
2
import { ThyIcon } from 'ngx-tethys/icon';
3

4
/**
5
 * 文本组件
6
 * @name thy-text,[thyText]
7
 * @order 10
8
 */
9
@Component({
10
    selector: 'thy-text, [thyText]:not(thy-divider)',
11
    templateUrl: './text.component.html',
1✔
12
    changeDetection: ChangeDetectionStrategy.OnPush,
13
    host: {
×
14
        class: 'thy-text'
15
    },
16
    imports: [ThyIcon]
1✔
17
})
1✔
18
export class ThyText implements OnInit {
19
    /**
20
     * 前置图标
21
     */
1✔
22
    readonly thyIcon = input<string>(undefined);
23

24
    constructor() {}
25

26
    ngOnInit(): void {}
27
}
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