UNPKG

358 BPlain TextView Raw
1import {
2 Directive,
3 ElementRef,
4 Input,
5 ViewContainerRef,
6 ComponentRef,
7 Compiler,
8 TemplateRef,
9 Renderer
10} from '@angular/core';
11
12@Directive({
13 selector: '[templation]',
14})
15export class TemplationDirective {
16 @Input() templation: string = null;
17 constructor(
18 private vcRef: ViewContainerRef,
19 private compiler: Compiler
20 ) {
21 }
22}
23