generated:catalog.entry.highlight-text.title
generated:catalog.entry.highlight-text.description
@xngui/components/highlight-text@xngui/components/highlight-textchrome:demo.section
chrome:demo.preview
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 {}
chrome:demo.events.title
chrome:demo.events.empty
chrome:demo.api.title
x-highlight-text
chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
textstring''Source string to scan for terms.
termsstring | readonly string[]''Terms to wrap in highlight marks.
caseSensitivebooleanfalseMatches terms with exact casing when `true`.
variantXVariant'warning'Semantic color role for highlight marks.