@vismaux/ngx-nordic-cool
Version:
Common Nordic-Cool components for Angular.
20 lines (19 loc) • 797 B
TypeScript
import { AfterViewInit, ElementRef, OnChanges, Renderer2 } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NcOptionHighlightDirective implements OnChanges, AfterViewInit {
private elementRef;
private renderer;
private label;
term: string;
constructor(elementRef: ElementRef, renderer: Renderer2);
ngOnChanges(): void;
ngAfterViewInit(): void;
private get element();
private escapeRegExp;
private highlightLabel;
private get canHighlight();
private setInnerHtml;
private isDefined;
static ɵfac: i0.ɵɵFactoryDeclaration<NcOptionHighlightDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NcOptionHighlightDirective, "[ncOptionHighlight]", never, { "term": "ncOptionHighlight"; }, {}, never>;
}