• 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

15.0
/src/radio/button/radio-button.component.ts
1
import { Component, OnInit, HostBinding, HostListener, input } from '@angular/core';
2
import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
import { ThyRadio } from '../radio.component';
4

5
/**
6
 * @name [thy-radio-button],[thyRadioButton]
7
 */
8
@Component({
9
    // eslint-disable-next-line @angular-eslint/component-selector
10
    selector: '[thy-radio-button],[thyRadioButton]',
1✔
11
    templateUrl: './radio-button.component.html',
12
    host: {
×
13
        '[attr.tabindex]': `tabIndex`
×
14
    }
×
15
})
×
16
export class ThyRadioButton extends ThyRadio implements OnInit {
17
    @HostBinding('class.btn') isButton = true;
18
    @HostBinding('class.active') isActive = false;
×
19
    @HostBinding('class.disabled') get isDisabled() {
20
        return this._disabled;
21
    }
×
22

×
23
    name: string;
24

25
    readonly thyValue = input<string>();
×
26

×
27
    set thyChecked(value: boolean) {
×
28
        this.isActive = !!value;
×
29
        this.writeValue(coerceBooleanProperty(value));
30
    }
31

32
    ngOnInit() {
×
33
        this._isFormCheck = false;
×
34
        if (this.thyRadioGroupComponent) {
35
            this.thyRadioGroupComponent.addRadio(this);
36
            this.thyRadioGroupComponent.setGroup();
1✔
37
        }
38
    }
39

40
    @HostListener('click', ['$event'])
41
    click($event: MouseEvent) {
42
        if (!this._disabled) {
43
            this.change();
44
        }
1✔
45
    }
46
}
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