The identifier of the column on which the directive is currently on.
<div
igxTextHighlight
[column]="0">
</div>
Determines the CSS class of the highlight elements.
This allows the developer to provide custom CSS to customize the highlight.
<div
igxTextHighlight
[cssClass]="myClass">
</div>
Identifies the highlight within a unique group. This allows it to have several different highlight groups, with each of them having their own active highlight.
<div
igxTextHighlight
[groupName]="myGroupName">
</div>
A map that contains all additional conditions, that you need to activate a highlighted
element. To activate the condition, you will have to add a new metadata key to
the metadata property of the IActiveHighlightInfo interface.
The identifier of the row on which the directive is currently on.
<div
igxTextHighlight
[row]="0">
</div>
The underlying value of the element that will be highlighted.
// get
const elementValue = this.textHighlight.value;
<!--set-->
<div
igxTextHighlight
[value]="newValue">
</div>
Activates the highlight if it is on the currently active row and column.
Clears any existing highlight.
Clears the existing highlight and highlights the searched text. Returns how many times the element contains the searched text.
Attaches a MutationObserver to the parentElement and watches for when the container element is removed/readded to the DOM. Should be used only when necessary as using many observers may lead to performance degradation.
Determines the
CSSclass of the active highlight element. This allows the developer to provide customCSSto customize the highlight.