Move FAQ HTML to angular templates

fixes #1783
This commit is contained in:
softsimon
2022-06-12 22:52:49 +02:00
parent 5314eb2d45
commit 24ffc97317
5 changed files with 105 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
import { Directive, Input, TemplateRef } from '@angular/core';
@Directive({
selector: 'ng-template[type]'
})
export class FaqTemplateDirective {
@Input() type: string;
constructor(public template: TemplateRef<any>) { }
}