Move FAQ HTML to angular templates

fixes #1783
This commit is contained in:
softsimon
2022-06-12 22:52:49 +02:00
parent aa7f3ac69d
commit 065a480fc7
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>) { }
}