Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
SoyDiego committed Dec 14, 2023
1 parent ed1c24a commit a2b3cdc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/app/components/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ export class Checkbox implements ControlValueAccessor {

model: any;

onModelChange: Function = () => { };
onModelChange: Function = () => {};

onModelTouched: Function = () => { };
onModelTouched: Function = () => {};

focused: boolean = false;

constructor(public cd: ChangeDetectorRef) { }
constructor(public cd: ChangeDetectorRef) {}

ngAfterContentInit() {
(this.templates as QueryList<PrimeTemplate>).forEach((item) => {
Expand Down Expand Up @@ -285,4 +285,4 @@ export class Checkbox implements ControlValueAccessor {
exports: [Checkbox, SharedModule],
declarations: [Checkbox]
})
export class CheckboxModule { }
export class CheckboxModule {}
8 changes: 4 additions & 4 deletions src/app/components/tristatecheckbox/tristatecheckbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {
}
})
export class TriStateCheckbox implements ControlValueAccessor {
constructor(private cd: ChangeDetectorRef) { }
constructor(private cd: ChangeDetectorRef) {}
/**
* When present, it specifies that the element should be disabled.
* @group Props
Expand Down Expand Up @@ -154,9 +154,9 @@ export class TriStateCheckbox implements ControlValueAccessor {

value: Nullable<boolean>;

onModelChange: Function = () => { };
onModelChange: Function = () => {};

onModelTouched: Function = () => { };
onModelTouched: Function = () => {};

onClick(event: Event, input: HTMLInputElement) {
if (!this.disabled && !this.readonly) {
Expand Down Expand Up @@ -232,4 +232,4 @@ export class TriStateCheckbox implements ControlValueAccessor {
exports: [TriStateCheckbox, SharedModule],
declarations: [TriStateCheckbox]
})
export class TriStateCheckboxModule { }
export class TriStateCheckboxModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ import { CheckboxModule } from 'primeng/checkbox';
exports: [AppDocModule],
declarations: [ImportDoc, BasicDoc, InvalidDoc, DisabledDoc, StyleDoc, AccessibilityDoc, ReactiveFormsDoc]
})
export class TristatecheckboxDocModule { }
export class TristatecheckboxDocModule {}

0 comments on commit a2b3cdc

Please sign in to comment.