initial commit
- contains basic chat via websocket - contains button to test websocket - contains button to test rest api
This commit is contained in:
18
src/app/chat/entry/entry.component.ts
Normal file
18
src/app/chat/entry/entry.component.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Entry } from './entry';
|
||||
|
||||
@Component({
|
||||
selector: 'app-entry',
|
||||
templateUrl: './entry.component.html',
|
||||
styleUrls: ['./entry.component.css']
|
||||
})
|
||||
export class EntryComponent implements OnInit {
|
||||
|
||||
@Input() entry: Entry;
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user