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

atinc / ngx-tethys / 68ef226c-f83e-44c1-b8ed-e420a83c5d84

28 May 2025 10:31AM UTC coverage: 10.352% (-80.0%) from 90.316%
68ef226c-f83e-44c1-b8ed-e420a83c5d84

Pull #3460

circleci

pubuzhixing8
chore: xxx
Pull Request #3460: refactor(icon): migrate signal input #TINFR-1476

132 of 6823 branches covered (1.93%)

Branch coverage included in aggregate %.

10 of 14 new or added lines in 1 file covered. (71.43%)

11648 existing lines in 344 files now uncovered.

2078 of 14525 relevant lines covered (14.31%)

6.69 hits per line

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

42.86
/src/loading/loading.component.ts
1
import { ChangeDetectionStrategy, Component, HostBinding, input } from '@angular/core';
2

3
import { coerceBooleanProperty } from 'ngx-tethys/util';
4

5
/**
6
 * 加载组件,页面调用接口等待请求时,给用户的反馈
7
 * @name thy-loading
8
 * @order 10
9
 */
10
@Component({
11
    selector: 'thy-loading',
1✔
12
    templateUrl: './loading.component.html',
UNCOV
13
    changeDetection: ChangeDetectionStrategy.OnPush,
×
UNCOV
14
    imports: []
×
UNCOV
15
})
×
UNCOV
16
export class ThyLoading {
×
17
    /**
18
     * 数据是否加载完成
1✔
19
     * @default false
20
     */
21
    readonly thyDone = input(false, { transform: coerceBooleanProperty });
22

23
    /**
24
     * 自定义加载提示文案
25
     */
1✔
26
    readonly thyTip = input<string>('');
27

28
    /**
29
     * 加载时是否启用嵌套遮罩模式,不传或传 false,没有遮罩层,加载完成出现内容
30
     */
31
    readonly thyIsMask = input(false, { transform: coerceBooleanProperty });
32

33
    @HostBinding('class.thy-loading') loadingClassName = true;
34
}
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