parent
6f0191744c
commit
4bd3a65764
|
@ -1,7 +1,7 @@
|
|||
// #docregion
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({name: 'titlecase', pure: false})
|
||||
@Pipe({name: 'titlecase', pure: true})
|
||||
/** Transform to Title Case: uppercase the first letter of the words in a string.*/
|
||||
export class TitleCasePipe implements PipeTransform {
|
||||
transform(input: string): string {
|
||||
|
|
Loading…
Reference in New Issue