• 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

42.86
/src/skeleton/skeleton.component.ts
1
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, input } from '@angular/core';
2
import { coerceBooleanProperty, ThyBooleanInput } from 'ngx-tethys/util';
3

4
/**
5
 * 骨架屏组件
6
 * @name thy-skeleton
7
 * @order 10
8
 */
9
@Component({
10
    selector: 'thy-skeleton',
1✔
11
    template: ` <ng-content></ng-content> `,
12
    changeDetection: ChangeDetectionStrategy.OnPush,
×
13
    encapsulation: ViewEncapsulation.None
×
14
})
×
15
export class ThySkeleton {
×
16
    /**
17
     * 是否开启动画
1✔
18
     * @default false
19
     */
20
    readonly thyAnimated = input<boolean, ThyBooleanInput>(undefined, { transform: coerceBooleanProperty });
21

22
    /**
23
     * 动画速度
24
     */
1✔
25
    readonly thyAnimatedInterval = input<string | number>();
26

27
    /**
28
     * 骨架主色调
29
     */
30
    readonly thyPrimaryColor = input<string>();
31

32
    /**
33
     * 骨架次色调
34
     */
35
    readonly thySecondaryColor = input<string>();
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

© 2026 Coveralls, Inc