nativescript-xz-ad-generation
Version:
NativeScript AdGeneration Plugin
22 lines • 962 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var xz_ad_g_layout_component_1 = require("../../components/xz-ad-g-layout/xz-ad-g-layout.component");
var XzAdGLayoutContentDirective = (function () {
function XzAdGLayoutContentDirective(ownerComp, elemRef) {
this.ownerComp = ownerComp;
this.elemRef = elemRef;
}
XzAdGLayoutContentDirective.prototype.ngOnInit = function () {
this.ownerComp.loadAd();
};
XzAdGLayoutContentDirective = __decorate([
core_1.Directive({
selector: "[xzAdGLayoutContent]"
}),
__metadata("design:paramtypes", [xz_ad_g_layout_component_1.XzAdGLayoutComponent, core_1.ElementRef])
], XzAdGLayoutContentDirective);
return XzAdGLayoutContentDirective;
}());
exports.XzAdGLayoutContentDirective = XzAdGLayoutContentDirective;
//# sourceMappingURL=xz-ad-g-layout-content.directive.js.map
;