TitleCasePipe
pipe
Transforms text to title case. Capitalizes the first letter of each word and transforms the rest of the word to lower case. Words are delimited by any whitespace character, such as a space, tab, or line-feed character.
API
Description
Usage Notes
class TitleCasePipe implements PipeTransform {}
transform
3 overloads
@paramvalue
string
The string to transform to title case.
@returns
string
@paramvalue
null | undefined
@returns
null
@paramvalue
string | null | undefined
@returns
string | null
Jump to details