2015-07-27 22:12:30 -07:00
p.location-badge.
exported from <a href='../pipes'>angular2/pipes</a>
2015-07-28 13:28:47 -07:00
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.32/modules/angular2/src/change_detection/pipes/lowercase_pipe.ts#L3-L34">angular2/src/change_detection/pipes/lowercase_pipe.ts (line 3)</a>
2015-07-27 22:12:30 -07:00
:markdown
Implements lowercase transforms to text.
# Example
In this example we transform the user text lowercase.
```
@Component({
selector: "username-cmp"
})
@View({
template: "Username: {{ user | lowercase }}"
})
class Username {
user:string;
}
```
2015-07-28 13:28:47 -07:00
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation CONST
pre.prettyprint
code.
@CONST()
2015-07-27 22:12:30 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 supports
pre.prettyprint
code.
supports(str: any)
:markdown
.l-sub-section
2015-07-28 13:28:47 -07:00
h3 transform
2015-07-27 22:12:30 -07:00
pre.prettyprint
code.
2015-07-28 13:28:47 -07:00
transform(value: string, args?: List<any>)
2015-07-27 22:12:30 -07:00
:markdown
.l-sub-section
2015-07-28 13:28:47 -07:00
h3 create
2015-07-27 22:12:30 -07:00
pre.prettyprint
code.
2015-07-28 13:28:47 -07:00
create(cdRef: ChangeDetectorRef)
2015-07-27 22:12:30 -07:00
:markdown