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