Skip to content

Commit 8d8f462

Browse files
committed
fix(checkbox): fix linting issue
1 parent d0d5f3e commit 8d8f462

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ export class CheckboxComponent implements ControlValueAccessor {
3535
this.isChecked = checked ?? false;
3636
}
3737

38+
public get checked(): boolean {
39+
return this.isChecked;
40+
}
41+
3842
@Input()
3943
public set disabled(disabled: boolean | undefined) {
4044
this.isDisabled = disabled ?? false;
4145
}
4246

43-
@Output()
44-
public readonly checkedChange: EventEmitter<boolean> = new EventEmitter();
45-
46-
public get checked(): boolean {
47-
return this.isChecked;
48-
}
49-
5047
public get disabled(): boolean {
5148
return this.isDisabled;
5249
}
5350

51+
@Output()
52+
public readonly checkedChange: EventEmitter<boolean> = new EventEmitter();
53+
5454
public isChecked: boolean = false;
5555
public isDisabled: boolean = false;
5656

0 commit comments

Comments
 (0)