Skip to content
Snippets Groups Projects
Verified Commit d410d157 authored by Jonas Leder's avatar Jonas Leder
Browse files

add content variable

parent 3a8dd2c9
Branches
No related tags found
No related merge requests found
<p>content works!</p>
<div id="content" *ngIf="content">
{{content}}
</div>
......@@ -6,7 +6,7 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./content.component.scss']
})
export class ContentComponent implements OnInit {
content = null;
constructor() { }
ngOnInit(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment