UNPKG

1.51 kBJavaScriptView Raw
1"use strict";
2var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3 var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4 if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5 else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6 return c > 3 && r && Object.defineProperty(target, key, r), r;
7};
8var __metadata = (this && this.__metadata) || function (k, v) {
9 if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10};
11var core_1 = require('@angular/core');
12var TemplationDirective = (function () {
13 function TemplationDirective(vcRef, compiler) {
14 this.vcRef = vcRef;
15 this.compiler = compiler;
16 this.templation = null;
17 }
18 __decorate([
19 core_1.Input(),
20 __metadata('design:type', String)
21 ], TemplationDirective.prototype, "templation", void 0);
22 TemplationDirective = __decorate([
23 core_1.Directive({
24 selector: '[templation]',
25 }),
26 __metadata('design:paramtypes', [core_1.ViewContainerRef, core_1.Compiler])
27 ], TemplationDirective);
28 return TemplationDirective;
29}());
30exports.TemplationDirective = TemplationDirective;
31//# sourceMappingURL=templation.directive.js.map
\No newline at end of file