Blazorise Highlighter API
Explore the Blazorise Highlighter API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Highlighter documentation.
API
Parameters
| Parameter | Default | Type |
|---|---|---|
CaseSensitive | false | bool |
Whether or not the search term will be case sensitive. | ||
HighlightedText | — | string |
The search term to be highlighted. | ||
HighlightedTexts | null | string[] |
Array of search terms to be highlighted. Although this is an array, mutating it in-place (e.g. HighlightedTexts[1] = "new value") will not trigger a change. To update highlights, always reassign the entire array. | ||
NextBoundary | ".*?\\b" | string |
A regex expression used for searching the word boundaries. | ||
Text | — | string |
The whole text in which a HighlightedText will be highlighted. | ||
UntilNextBoundary | false | bool |
If true, highlights the text until the next word boundary. | ||