File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
projects/components/src/checkbox Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments