Documentation / @blazetrails/actionpack / ActionView / highlight
Function: highlight()
highlight(
this,text,phrases,options?,block?):SafeBuffer
Defined in: packages/actionview/dist/helpers/text-helper.d.ts:25
Parameters
| Parameter | Type |
|---|---|
this | TagHelperHost |
text | string | SafeBuffer | null | undefined |
phrases | string | RegExp | (string | RegExp)[] | null | undefined |
options? | HighlightOptions |
block? | (match) => string |