HighlightHelper
A helper class for highlighting text matches within HTML elements.
Typedefs
1
Typedefs
1RegExpMatch: Array
Definition of a single RegExp match result with added end property.
| Parameter | Type | Description |
|---|---|---|
index | Number | The start index of the match. |
length | Number | The length of the matched substring. |
end | Number | The end index of the match. |
0 | Number | The matched substring. |
input | String | The original input string. |