• Overview
@angular/common

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.

  
    class TitleCasePipe implements PipeTransform {
}

transform

3 overloads
@paramvaluestring

The string to transform to title case.

@returnsstring
@paramvaluenull | undefined
@returnsnull
@paramvaluestring | null | undefined
@returnsstring | null
Jump to details