Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Denny Müller committed Jan 25, 2024
1 parent e996840 commit 3788b9b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,13 @@ export const CALENDAR_VALUE_ACCESSOR: any = {
</ng-container>
</button>
<ng-container *ngIf="iconDisplay === 'input' && showIcon">
<CalendarIcon (click)="onButtonClick($event)" *ngIf="!inputIconTemplate" [ngClass]="{
'p-datepicker-icon': showOnFocus
}"/>
<CalendarIcon
(click)="onButtonClick($event)"
*ngIf="!inputIconTemplate"
[ngClass]="{
'p-datepicker-icon': showOnFocus
}"
/>
<ng-container *ngTemplateOutlet="inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
</ng-container>
</ng-template>
Expand Down

0 comments on commit 3788b9b

Please sign in to comment.