• 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

20.0
/src/core/behaviors/disabled.ts
1
import { coerceBooleanProperty } from 'ngx-tethys/util';
2

3
import { Constructor } from './constructor';
4

9✔
5
export interface ThyCanDisable {
6
    thyDisabled: boolean;
×
7
}
8

9
export type ThyCanDisableCtor = Constructor<ThyCanDisable>;
×
10

11
/** Mixin to augment a directive with a `disable` property. */
12
export function mixinDisabled<T extends Constructor<{}>>(base: T): ThyCanDisableCtor & T {
×
13
    return class extends base {
×
14
        private _thyDisabled = false;
15

16
        get thyDisabled() {
17
            return this._thyDisabled;
18
        }
19

20
        set thyDisabled(value: any) {
21
            this._thyDisabled = coerceBooleanProperty(value);
22
        }
23

24
        constructor(...args: any[]) {
25
            super(...args);
26
        }
27
    };
28
}
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