Skip to content

fillLabel

fillLabel(template, values): string

Fills {name} placeholders with text. The result is a string, never markup; a placeholder with no value is left as it is.

string

Record<string, string | number>

string