-
-
-
Hello, {{ title() }}
-
Congratulations! Your app is running. 🎉
+
+
+
Typ: {{ auto?.typ ?? "N/A" }}
+
Hersteller: {{ auto?.hersteller ?? "N/A" }}
+
Kennzeichen: {{ auto?.kennzeichen ?? "N/A" }}
-
-
-
- @for (item of [
- { title: 'Explore the Docs', link: 'https://angular.dev' },
- { title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' },
- { title: 'Prompt and best practices for AI', link: 'https://angular.dev/ai/develop-with-ai'},
- { title: 'CLI Docs', link: 'https://angular.dev/tools/cli' },
- { title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' },
- { title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' },
- ]; track item.title) {
-
- {{ item.title }}
-
-
- }
-
-
+
+
+
-
-
-
-
-
-
-
-
-
diff --git a/demo/src/app/app.ts b/demo/src/app/app.ts
index a8ddac5..8b9f26d 100644
--- a/demo/src/app/app.ts
+++ b/demo/src/app/app.ts
@@ -1,12 +1,23 @@
import { Component, signal } from '@angular/core';
import { RouterOutlet } from '@angular/router';
+import { Auto } from './Auto';
+import { CreateAutoComponent } from './create-auto/create-auto';
+import { DisplayHtmlComponent } from './display-html/display-html';
@Component({
selector: 'app-root',
- imports: [RouterOutlet],
+ imports: [RouterOutlet, CreateAutoComponent, DisplayHtmlComponent],
templateUrl: './app.html',
styleUrl: './app.css'
})
export class App {
protected readonly title = signal('demo');
+
+ constructor(public auto?: Auto) {
+
+ }
+
+ setAuto(auto: Auto) {
+ this.auto = auto;
+ }
}