sv-search-highlight
Version:
<p align="center"> <img style="text-align: center" src="https://angular-shortcode.web.app/assets/icons/logo-128.png"/> <h1 align="center">Angular Shortcode</h1> </p>
2 lines • 833 B
JavaScript
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("sv-search-highlight",["exports","@angular/core"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["sv-search-highlight"]={},e.ng.core)}(this,(function(e,r){"use strict";var t=function(){function e(){}return e.prototype.transform=function(e,r){if(e){var t=new RegExp(r,"gi"),o=e.match(t);return r?e.replace(t,"<mark>"+(o&&o[0])+"</mark>"):e}},e}();t.decorators=[{type:r.Pipe,args:[{name:"svSearchHighlight"}]}];var o=function(){};o.decorators=[{type:r.NgModule,args:[{declarations:[t],imports:[],exports:[t]}]}],e.SvSearchHighlightModule=o,e.SvSearchHighlightPipe=t,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=sv-search-highlight.umd.min.js.map