mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 05:43:03 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -14,7 +14,9 @@ import { HttpService } from './http.service';
|
||||
selector: 'app-input',
|
||||
standalone: true,
|
||||
imports: [ReactiveFormsModule],
|
||||
template: ` <input type="text" [formControl]="title" /> `,
|
||||
template: `
|
||||
<input type="text" [formControl]="title" />
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class InputComponent {
|
||||
@@ -24,7 +26,9 @@ export class InputComponent {
|
||||
@Component({
|
||||
selector: 'result',
|
||||
standalone: true,
|
||||
template: ` <p>Title is {{ title }}</p> `,
|
||||
template: `
|
||||
<p>Title is {{ title }}</p>
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class ResultComponent {
|
||||
@@ -34,7 +38,9 @@ export class ResultComponent {
|
||||
@Component({
|
||||
selector: 'app-button',
|
||||
standalone: true,
|
||||
template: `<button (click)="validate.emit()">Validate</button>`,
|
||||
template: `
|
||||
<button (click)="validate.emit()">Validate</button>
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class ButtonComponent {
|
||||
@@ -44,7 +50,9 @@ export class ButtonComponent {
|
||||
@Component({
|
||||
selector: 'app-error',
|
||||
standalone: true,
|
||||
template: `<p>Title is required !!!</p>`,
|
||||
template: `
|
||||
<p>Title is required !!!</p>
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class ErrorComponent {
|
||||
|
||||
Reference in New Issue
Block a user