Skip to content

Highlight text

@xngui/components/highlight-text
@xngui/components/highlight-text

Highlights matching search terms inside text.

Preview

Highlight matching terms inside searchable content.
import { Component } from '@angular/core';
import { XHighlightText } from '@xngui/components/highlight-text';
 
@Component({
selector: 'app-example',
imports: [XHighlightText],
templateUrl: './highlight-text.component.html',
})
export class ExampleComponent {}

Events

Interact with the preview — events will appear here.