Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-render-html-once

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-render-html-once - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

angular-render-html-once.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"RenderHtmlOnceComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"render-html-once","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"htmlContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":12,"character":55,"context":{"typeName":"Element"},"module":"./lib/render-html-once.component"}]}]}],"ngOnInit":[{"__symbolic":"method"}]},"statics":{"alreadyRendered":{}}},"RenderHtmlOnceModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"RenderHtmlOnceComponent"}],"exports":[{"__symbolic":"reference","name":"RenderHtmlOnceComponent"}]}]}],"members":{}}},"origins":{"RenderHtmlOnceComponent":"./lib/render-html-once.component","RenderHtmlOnceModule":"./lib/render-html-once.module"},"importAs":"angular-render-html-once"}
{"__symbolic":"module","version":4,"metadata":{"RenderHtmlOnceComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"render-html-once","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"htmlContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":12,"character":55,"context":{"typeName":"Element"},"module":"./lib/render-html-once.component"}]}]}],"ngOnInit":[{"__symbolic":"method"}]},"statics":{"alreadyRendered":{}}},"RenderHtmlOnceModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RenderHtmlOnceComponent"}],"exports":[{"__symbolic":"reference","name":"RenderHtmlOnceComponent"}],"imports":[]}]}],"members":{}}},"origins":{"RenderHtmlOnceComponent":"./lib/render-html-once.component","RenderHtmlOnceModule":"./lib/render-html-once.module"},"importAs":"angular-render-html-once"}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
typeof define === 'function' && define.amd ? define('angular-render-html-once', ['exports', '@angular/core'], factory) :
(factory((global['angular-render-html-once'] = {}),global.ng.core));
}(this, (function (exports,core) { 'use strict';
(global = global || self, factory(global['angular-render-html-once'] = {}, global.ng.core));
}(this, (function (exports, core) { 'use strict';

@@ -22,15 +22,15 @@ /**

*/
function () {
/** @type {?} */
var cacheHit = RenderHtmlOnceComponent.alreadyRendered[this.id];
if (cacheHit) {
while (cacheHit.childNodes.length) {
this.hostElement.nativeElement.appendChild(cacheHit.firstChild);
}
function () {
/** @type {?} */
var cacheHit = RenderHtmlOnceComponent.alreadyRendered[this.id];
if (cacheHit) {
while (cacheHit.childNodes.length) {
this.hostElement.nativeElement.appendChild(cacheHit.firstChild);
}
else {
this.hostElement.nativeElement.innerHTML = this.htmlContent;
}
RenderHtmlOnceComponent.alreadyRendered[this.id] = this.hostElement.nativeElement;
};
}
else {
this.hostElement.nativeElement.innerHTML = this.htmlContent;
}
RenderHtmlOnceComponent.alreadyRendered[this.id] = this.hostElement.nativeElement;
};
/**

@@ -42,11 +42,11 @@ * @return {?}

*/
function () {
function () {
/** @type {?} */
var elements = window.document.getElementsByTagName('render-html-once');
for (var i = 0; i < elements.length; ++i) {
/** @type {?} */
var elements = window.document.getElementsByTagName('render-html-once');
for (var i = 0; i < elements.length; ++i) {
/** @type {?} */
var element = elements[i];
RenderHtmlOnceComponent.alreadyRendered[element.id] = element;
}
};
var element = elements[i];
RenderHtmlOnceComponent.alreadyRendered[element.id] = element;
}
};
/**

@@ -58,5 +58,5 @@ * @return {?}

*/
function () {
RenderHtmlOnceComponent.alreadyRendered = {};
};
function () {
RenderHtmlOnceComponent.alreadyRendered = {};
};
RenderHtmlOnceComponent.alreadyRendered = {};

@@ -69,7 +69,6 @@ RenderHtmlOnceComponent.decorators = [

];
RenderHtmlOnceComponent.ctorParameters = function () {
return [
{ type: core.ElementRef }
];
};
/** @nocollapse */
RenderHtmlOnceComponent.ctorParameters = function () { return [
{ type: core.ElementRef }
]; };
RenderHtmlOnceComponent.propDecorators = {

@@ -81,2 +80,18 @@ id: [{ type: core.Input }],

}());
if (false) {
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.alreadyRendered;
/** @type {?} */
RenderHtmlOnceComponent.prototype.id;
/** @type {?} */
RenderHtmlOnceComponent.prototype.htmlContent;
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.prototype.hostElement;
}

@@ -93,5 +108,5 @@ /**

{ type: core.NgModule, args: [{
imports: [],
declarations: [RenderHtmlOnceComponent],
exports: [RenderHtmlOnceComponent]
exports: [RenderHtmlOnceComponent],
imports: []
},] }

@@ -102,14 +117,2 @@ ];

/**
* @fileoverview added by tsickle
* Generated from: public_api.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* Generated from: angular-render-html-once.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
exports.RenderHtmlOnceComponent = RenderHtmlOnceComponent;

@@ -121,3 +124,2 @@ exports.RenderHtmlOnceModule = RenderHtmlOnceModule;

})));
//# sourceMappingURL=angular-render-html-once.umd.js.map
//# sourceMappingURL=angular-render-html-once.umd.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("angular-render-html-once",["exports","@angular/core"],t):t(e["angular-render-html-once"]={},e.ng.core)}(this,function(e,t){"use strict";var n=(r.prototype.ngOnInit=function(){var e=r.alreadyRendered[this.id];if(e)for(;e.childNodes.length;)this.hostElement.nativeElement.appendChild(e.firstChild);else this.hostElement.nativeElement.innerHTML=this.htmlContent;r.alreadyRendered[this.id]=this.hostElement.nativeElement},r.registerServerSideRenderedComponents=function(){for(var e=window.document.getElementsByTagName("render-html-once"),t=0;t<e.length;++t){var n=e[t];r.alreadyRendered[n.id]=n}},r.clearCache=function(){r.alreadyRendered={}},r.alreadyRendered={},r.decorators=[{type:t.Component,args:[{selector:"render-html-once",template:""}]}],r.ctorParameters=function(){return[{type:t.ElementRef}]},r.propDecorators={id:[{type:t.Input}],htmlContent:[{type:t.Input}]},r);function r(e){this.hostElement=e}var o=(d.decorators=[{type:t.NgModule,args:[{imports:[],declarations:[n],exports:[n]}]}],d);function d(){}e.RenderHtmlOnceComponent=n,e.RenderHtmlOnceModule=o,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("angular-render-html-once",["exports","@angular/core"],t):t((e=e||self)["angular-render-html-once"]={},e.ng.core)}(this,(function(e,t){"use strict";var n=function(){function e(e){this.hostElement=e}return e.prototype.ngOnInit=function(){var t=e.alreadyRendered[this.id];if(t)for(;t.childNodes.length;)this.hostElement.nativeElement.appendChild(t.firstChild);else this.hostElement.nativeElement.innerHTML=this.htmlContent;e.alreadyRendered[this.id]=this.hostElement.nativeElement},e.registerServerSideRenderedComponents=function(){for(var t=window.document.getElementsByTagName("render-html-once"),n=0;n<t.length;++n){var r=t[n];e.alreadyRendered[r.id]=r}},e.clearCache=function(){e.alreadyRendered={}},e.alreadyRendered={},e.decorators=[{type:t.Component,args:[{selector:"render-html-once",template:""}]}],e.ctorParameters=function(){return[{type:t.ElementRef}]},e.propDecorators={id:[{type:t.Input}],htmlContent:[{type:t.Input}]},e}();var r=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[n],exports:[n],imports:[]}]}],e}();e.RenderHtmlOnceComponent=n,e.RenderHtmlOnceModule=r,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=angular-render-html-once.umd.min.js.map

@@ -56,2 +56,3 @@ /**

];
/** @nocollapse */
RenderHtmlOnceComponent.ctorParameters = () => [

@@ -80,2 +81,2 @@ { type: ElementRef }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLXJlbmRlci1odG1sLW9uY2UvIiwic291cmNlcyI6WyJsaWIvcmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFNbkUsTUFBTTs7OztJQU1GLFlBQTJCLFdBQWdDO1FBQWhDLGdCQUFXLEdBQVgsV0FBVyxDQUFxQjtJ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5uYXRpdmVFbGVtZW50LmFwcGVuZENoaWxkKGNhY2hlSGl0LmZpcnN0Q2hpbGQpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5ob3N0RWxlbWVudC5uYXRpdmVFbGVtZW50LmlubmVySFRNTCA9IHRoaXMuaHRtbENvbnRlbnQ7XG4gICAgICAgIH1cbiAgICAgICAgUmVuZGVySHRtbE9uY2VDb21wb25lbnQuYWxyZWFkeVJlbmRlcmVkW3RoaXMuaWRdID0gdGhpcy5ob3N0RWxlbWVudC5uYXRpdmVFbGVtZW50O1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgcmVnaXN0ZXJTZXJ2ZXJTaWRlUmVuZGVyZWRDb21wb25lbnRzKCk6IHZvaWQge1xuICAgICAgICBjb25zdCBlbGVtZW50cyA9IHdpbmRvdy5kb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgncmVuZGVyLWh0bWwtb25jZScpO1xuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGVsZW1lbnRzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICBjb25zdCBlbGVtZW50ID0gZWxlbWVudHNbaV07XG4gICAgICAgICAgICBSZW5kZXJIdG1sT25jZUNvbXBvbmVudC5hbHJlYWR5UmVuZGVyZWRbZWxlbWVudC5pZF0gPSBlbGVtZW50O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBjbGVhckNhY2hlKCk6IHZvaWQge1xuICAgICAgICBSZW5kZXJIdG1sT25jZUNvbXBvbmVudC5hbHJlYWR5UmVuZGVyZWQgPSB7fTtcbiAgICB9XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLXJlbmRlci1odG1sLW9uY2UvI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AgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGNsZWFyQ2FjaGUoKTogdm9pZCB7XG4gICAgICAgIFJlbmRlckh0bWxPbmNlQ29tcG9uZW50LmFscmVhZHlSZW5kZXJlZCA9IHt9O1xuICAgIH1cbn1cbiJdfQ==

@@ -12,7 +12,7 @@ /**

{ type: NgModule, args: [{
imports: [],
declarations: [RenderHtmlOnceComponent],
exports: [RenderHtmlOnceComponent]
exports: [RenderHtmlOnceComponent],
imports: []
},] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWh0bWwtb25jZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLXJlbmRlci1odG1sLW9uY2UvIiwic291cmNlcyI6WyJsaWIvcmVuZGVyLWh0bWwtb25jZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBUXZFLE1BQU07OztZQU5MLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUUsRUFDUjtnQkFDRCxZQUFZLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztnQkFDdkMsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7YUFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUmVuZGVySHRtbE9uY2VDb21wb25lbnQgfSBmcm9tICcuL3JlbmRlci1odG1sLW9uY2UuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtSZW5kZXJIdG1sT25jZ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0=

@@ -61,2 +61,3 @@ /**

];
/** @nocollapse */
RenderHtmlOnceComponent.ctorParameters = function () { return [

@@ -88,2 +89,2 @@ { type: ElementRef }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLXJlbmRlci1odG1sLW9uY2UvIiwic291cmNlcyI6WyJsaWIvcmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFFbkU7SUFVSSxpQ0FBMkIsV0FBZ0M7UUFBaEMsZ0JBQVcsR0FBWCxXQUFXLENBQXFCO0lBQUcsQ0FBQzs7OztJQUV4RCwwQ0FBUTs7O0lBQWY7O1lBQ1UsUUFBUSxHQUFHLHVCQUF1QixDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDO1FBQ2pFLElBQUksUUFBUSxFQUFFO1lBQ1YsT0FBTyxRQUFRLENBQUMsVUFBVSxDQUFDLE1BQU0sRUFBRTtnQkFDL0IsSUFBSSxDQUFDLFdBQVcsQ0FBQyxhQUFhLENBQUMsV0FBVyxDQUFDLFFBQVEsQ0FBQyxVQUFVLENBQUMsQ0FBQzthQUNuRTtTQUNKO2FBQU07WUFDSCxJQUFJLENBQUMsV0FBVyxDQUFDLGFBQWEsQ0FBQyxTQUFTLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQztTQUMvRDtRQUNELHVCQUF1QixDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxhQUFhLENBQUM7SUFDdEYsQ0FBQzs7OztJQUVhLDRE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dmVFbGVtZW50LmlubmVySFRNTCA9IHRoaXMuaHRtbENvbnRlbnQ7XG4gICAgICAgIH1cbiAgICAgICAgUmVuZGVySHRtbE9uY2VDb21wb25lbnQuYWxyZWFkeVJlbmRlcmVkW3RoaXMuaWRdID0gdGhpcy5ob3N0RWxlbWVudC5uYXRpdmVFbGVtZW50O1xuICAgIH1cblxuICAgIHB1YmxpYyBzdGF0aWMgcmVnaXN0ZXJTZXJ2ZXJTaWRlUmVuZGVyZWRDb21wb25lbnRzKCk6IHZvaWQge1xuICAgICAgICBjb25zdCBlbGVtZW50cyA9IHdpbmRvdy5kb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgncmVuZGVyLWh0bWwtb25jZScpO1xuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IGVsZW1lbnRzLmxlbmd0aDsgKytpKSB7XG4gICAgICAgICAgICBjb25zdCBlbGVtZW50ID0gZWxlbWVudHNbaV07XG4gICAgICAgICAgICBSZW5kZXJIdG1sT25jZUNvbXBvbmVudC5hbHJlYWR5UmVuZGVyZWRbZWxlbWVudC5pZF0gPSBlbGVtZW50O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIHN0YXRpYyBjbGVhckNhY2hlKCk6IHZvaWQge1xuICAgICAgICBSZW5kZXJIdG1sT25jZUNvbXBvbmVudC5hbHJlYWR5UmVuZGVyZWQgPSB7fTtcbiAgICB9XG59XG4iXX0=

@@ -13,5 +13,5 @@ /**

{ type: NgModule, args: [{
imports: [],
declarations: [RenderHtmlOnceComponent],
exports: [RenderHtmlOnceComponent]
exports: [RenderHtmlOnceComponent],
imports: []
},] }

@@ -22,2 +22,2 @@ ];

export { RenderHtmlOnceModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWh0bWwtb25jZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLXJlbmRlci1odG1sLW9uY2UvIiw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ltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBRXZFO0lBQUE7SUFLb0MsQ0FBQzs7Z0JBTHBDLFFBQVEsU0FBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztvQkFDdkMsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7b0JBQ2xDLE9BQU8sRUFBRSxFQUFFO2lCQUNaOztJQUNtQywyQkFBQztDQUFBLEFBTHJDLElBS3FDO1NBQXhCLG9CQUFvQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBSZW5kZXJIdG1sT25jZUNvbXBvbmVudCB9IGZyb20gJy4vcmVuZGVyLWh0bWwtb25jZS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtSZW5kZXJIdG1sT25jZUNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtSZW5kZXJIdG1sT25jZUNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIFJlbmRlckh0bWxPbmNlTW9kdWxlIHsgfVxuIl19

@@ -57,2 +57,3 @@ import { Component, ElementRef, Input, NgModule } from '@angular/core';

];
/** @nocollapse */
RenderHtmlOnceComponent.ctorParameters = () => [

@@ -65,2 +66,18 @@ { type: ElementRef }

};
if (false) {
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.alreadyRendered;
/** @type {?} */
RenderHtmlOnceComponent.prototype.id;
/** @type {?} */
RenderHtmlOnceComponent.prototype.htmlContent;
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.prototype.hostElement;
}

@@ -76,5 +93,5 @@ /**

{ type: NgModule, args: [{
imports: [],
declarations: [RenderHtmlOnceComponent],
exports: [RenderHtmlOnceComponent]
exports: [RenderHtmlOnceComponent],
imports: []
},] }

@@ -96,3 +113,2 @@ ];

export { RenderHtmlOnceComponent, RenderHtmlOnceModule };
//# sourceMappingURL=angular-render-html-once.js.map
//# sourceMappingURL=angular-render-html-once.js.map

@@ -62,2 +62,3 @@ import { Component, ElementRef, Input, NgModule } from '@angular/core';

];
/** @nocollapse */
RenderHtmlOnceComponent.ctorParameters = function () { return [

@@ -72,2 +73,18 @@ { type: ElementRef }

}());
if (false) {
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.alreadyRendered;
/** @type {?} */
RenderHtmlOnceComponent.prototype.id;
/** @type {?} */
RenderHtmlOnceComponent.prototype.htmlContent;
/**
* @type {?}
* @private
*/
RenderHtmlOnceComponent.prototype.hostElement;
}

@@ -84,5 +101,5 @@ /**

{ type: NgModule, args: [{
imports: [],
declarations: [RenderHtmlOnceComponent],
exports: [RenderHtmlOnceComponent]
exports: [RenderHtmlOnceComponent],
imports: []
},] }

@@ -106,3 +123,2 @@ ];

export { RenderHtmlOnceComponent, RenderHtmlOnceModule };
//# sourceMappingURL=angular-render-html-once.js.map
//# sourceMappingURL=angular-render-html-once.js.map
{
"name": "angular-render-html-once",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"private": false,
"peerDependencies": {
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
"@angular/core": "^6.0.0-rc.0 || ^6.0.0"
"@angular/common": "^8.0.0-rc.0 || ^8.0.0",
"@angular/core": "^8.0.0-rc.0 || ^8.0.0",
"tslib": "^1.9.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.8.9",
"@angular-devkit/build-ng-packagr": "0.6.8",
"@angular/cli": "6.2.1",
"@angular/common": "6.1.10",
"@angular/compiler": "6.1.10",
"@angular/compiler-cli": "6.1.0",
"@angular/core": "6.1.10",
"@angular/platform-browser": "6.1.10",
"@angular/platform-browser-dynamic": "6.1.10",
"@types/jasmine": "2.8.8",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.9.4",
"codelyzer": "4.3.0",
"core-js": "2.6.11",
"jasmine-core": "2.99.1",
"jasmine-spec-reporter": "4.2.1",
"karma": "3.0.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage-istanbul-reporter": "2.0.1",
"karma-jasmine": "1.1.2",
"karma-jasmine-html-reporter": "0.2.2",
"ng-packagr": "^4.1.0",
"rxjs": "6.2.2",
"ts-node": "7.0.0",
"tsickle": ">=0.29.0",
"tslib": "^1.9.0",
"tslint": "5.11.0",
"typescript": "2.9.2",
"zone.js": "0.8.29"
},
"main": "bundles/angular-render-html-once.umd.js",

@@ -49,6 +20,3 @@ "module": "fesm5/angular-render-html-once.js",

"metadata": "angular-render-html-once.metadata.json",
"sideEffects": false,
"dependencies": {
"tslib": "^1.9.0"
}
"sideEffects": false
}

@@ -14,3 +14,3 @@ # angular-render-html-once

*Important:* this needs to be done before any angular rendering occurs, since first thing angular does is clearing any existing content of root DOM element.
**Important:** this needs to be done before any angular rendering occurs, since first thing angular does is clearing any existing content of root DOM element.

@@ -20,3 +20,6 @@ #### Component

- inputs:
- `id` *required* - plain old HTML `id` attribute; required to match components whenever they could be destroyed and created again (or created from scratch browser-side and match them with their server-side rendered counterparts)
- `htmlContent` *required* - HTML content string you wish to have embedded within component
- `id` **required** - plain old HTML `id` attribute; required to match components whenever they could be destroyed and created again (or created from scratch browser-side and match them with their server-side rendered counterparts)
- `htmlContent` **required** - HTML content string you wish to have embedded within component
### Requirements
- angular ^8.0.0

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc