Created
November 21, 2021 11:54
-
-
Save felixlindemann/9dade70643310b1f2c155e2e32c038d1 to your computer and use it in GitHub Desktop.
Blog in Angular: Baseclass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'app-blogPost', | |
template: ` | |
<div class="col"> | |
<h3>abstract Blog post</h3> | |
<p>this is the dummy page - you should see the actual post.</p> | |
</div> | |
` | |
}) | |
export class blogPost { | |
Component: Type<any>; | |
category: BlogCategory; | |
id: string; | |
introduction: string ; | |
hasThumbnail: boolean; | |
thumbnail: string; | |
tags: string[]; | |
author: string; | |
postDateTime: Date; | |
title(): string ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment