LowerCasePipe

export class LowerCasePipe

exported from angular2/common defined in angular2/src/common/pipes/lowercase_pipe.ts (line 3)

Transforms text to lowercase.

Example

@Component({ selector: 'lowerupper-example', template: `<div> <label>Name: </label><input #name (keyup)="change(name.value)" type="text"> <p>In lowercase: <pre>'{{value | lowercase}}'</pre></p> <p>In uppercase: <pre>'{{value | uppercase}}'</pre></p> </div>` }) export class LowerUpperPipeExample { value: string; change(value) { this.value = value; } }

Annotations

@Pipe({name: 'lowercase'})

@Injectable()


Members

transform(value: string, args?: any[]) : string

Not Yet Documented