uppercase
- [email protected]
ng
模块中的过滤器
将字符串转化为大写
用法
HTML 模板绑定中
{{ uppercase_expression | uppercase}}
JavaScript 中
$filter('uppercase')(input)
参数
参数 | 形式 | 详细 |
---|---|---|
input | string |
过滤器的输入 |
返回
string
格式化后的数值
uppercase
ng
模块中的过滤器将字符串转化为大写
HTML 模板绑定中
{{ uppercase_expression | uppercase}}
JavaScript 中
$filter('uppercase')(input)
参数 | 形式 | 详细 |
---|---|---|
input | string |
过滤器的输入 |
string
格式化后的数值