poc model
This commit is contained in:
0
src/app/poc-model-component/poc-model-component.css
Normal file
0
src/app/poc-model-component/poc-model-component.css
Normal file
3
src/app/poc-model-component/poc-model-component.html
Normal file
3
src/app/poc-model-component/poc-model-component.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<p>Diese Komponente später löschen, nur ein Proof Of Concept für die Modellverwendung!</p>
|
||||
<p>{{ ticket.id }}</p>
|
||||
<p>{{ ticket.code }}</p>
|
||||
23
src/app/poc-model-component/poc-model-component.spec.ts
Normal file
23
src/app/poc-model-component/poc-model-component.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PocModelComponent } from './poc-model-component';
|
||||
|
||||
describe('PocModelComponent', () => {
|
||||
let component: PocModelComponent;
|
||||
let fixture: ComponentFixture<PocModelComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [PocModelComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(PocModelComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
15
src/app/poc-model-component/poc-model-component.ts
Normal file
15
src/app/poc-model-component/poc-model-component.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Eintrittskarte } from '@InfiniMotion/model-frontend';
|
||||
|
||||
@Component({
|
||||
selector: 'app-poc-model-component',
|
||||
standalone: false,
|
||||
templateUrl: './poc-model-component.html',
|
||||
styleUrl: './poc-model-component.css',
|
||||
})
|
||||
export class PocModelComponent {
|
||||
ticket: Eintrittskarte = {
|
||||
id: 12345,
|
||||
code: 'ABCDEF',
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user