Angular内置的就是
The chained hero@H_301_12@'s birthday is{{ birthday | date | uppercase}}
UpperCasePipe
npm Package | @angular/common |
---|---|
Module | import {UpperCasePipe} from'@angular/common'; |
Source | common/src/pipes/case_conversion_pipes.ts |
Description
Transforms text to uppercase.
源码:https://github.com/angular/angular/blob/5.0.0-rc.0/packages/common/src/pipes/case_conversion_pipes.ts#L57-L72