PipeTransformlink
方法
参数
返回值
|
使用说明
Example
例子
The RepeatPipe below repeats the value as many times as indicated by the first argument:
下面的 RepeatPipe 会把第一个参数指定的值(value)重复很多次(times):
Invoking {{ 'ok' | repeat:3 }} in a template produces okokok.
在模板中调用 {{ 'ok' | repeat:3 }} 的结果是 okokok。