UNPKG

jpush-ui

Version:

极光大数据前端Angular组件(^6.1.0)

24 lines 806 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var platform_browser_1 = require("@angular/platform-browser"); var MySafeHtml = /** @class */ (function () { function MySafeHtml(_sanitizer) { this._sanitizer = _sanitizer; } MySafeHtml.prototype.transform = function (v) { return this._sanitizer.bypassSecurityTrustHtml(v); }; MySafeHtml.decorators = [ { type: core_1.Pipe, args: [{ name: 'mySafeHtml' },] }, ]; /** @nocollapse */ MySafeHtml.ctorParameters = function () { return [ { type: platform_browser_1.DomSanitizer, }, ]; }; return MySafeHtml; }()); exports.MySafeHtml = MySafeHtml; //# sourceMappingURL=safe-html.pipe.js.map