zgo/src/app/app.component.ts

17 lines
349 B
TypeScript
Raw Normal View History

2021-10-01 20:10:14 +00:00
import { Component } from '@angular/core';
2021-10-15 19:14:49 +00:00
import { Post} from './posts/post.model';
2021-10-01 20:10:14 +00:00
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
2021-10-15 19:14:49 +00:00
//StoredPosts: Post[] = [];
title = 'sell4zec';
//onPostAdded(post: Post){
//this.StoredPosts.push(post);
//}
2021-10-01 20:10:14 +00:00
}