feat(challenge19): create challenge 19 with testing output and input

This commit is contained in:
thomas
2023-04-14 16:00:09 +02:00
parent 8ebf17c026
commit 043ec64c0d
11 changed files with 86 additions and 880 deletions

View File

@@ -1,13 +1,16 @@
import { NxWelcomeComponent } from './nx-welcome.component';
import { Component } from '@angular/core';
import { CounterComponent } from './counter.component';
@Component({
standalone: true,
imports: [NxWelcomeComponent],
imports: [CounterComponent],
selector: 'app-root',
template: ` <app-nx-welcome></app-nx-welcome> `,
styles: [],
template: `
<app-counter [initialValue]="10" (send)="log($event)"></app-counter>
`,
})
export class AppComponent {
title = 'testing-input-output';
log(counter: number) {
console.log('output log', counter);
}
}