Skip to content

Commit 377899c

Browse files
committed
fix(checkbox): add checked getter
1 parent c945ce2 commit 377899c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/components/src/checkbox/checkbox.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ export class CheckboxComponent implements ControlValueAccessor {
4343
@Output()
4444
public readonly checkedChange: EventEmitter<boolean> = new EventEmitter();
4545

46+
public get checked(): boolean {
47+
return this.isChecked;
48+
}
49+
4650
public isChecked: boolean = false;
4751
public isDisabled: boolean = false;
4852

0 commit comments

Comments
 (0)