ng-devui
Version:
DevUI components based on Angular
24 lines (23 loc) • 1.07 kB
TypeScript
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import * as i0 from "@angular/core";
export declare class HighlightComponent implements OnChanges {
private translateHtml;
private eleRef;
private doc;
display: string;
value: string;
term: string;
/**
* @deprecated
*/
highlightClass: string;
document: Document;
constructor(translateHtml: DomSanitizer, eleRef: ElementRef, doc: any);
ngOnChanges(changes: SimpleChanges): void;
addDom(value: string, term: string): any;
emptyChildren(container: any): void;
highlight(value: string, term: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<HighlightComponent, "d-highlight", never, { "value": { "alias": "value"; "required": false; }; "term": { "alias": "term"; "required": false; }; "highlightClass": { "alias": "highlightClass"; "required": false; }; }, {}, never, never, false, never>;
}