feat(pipes): support arguments in transform function

This commit is contained in:
Pouria Alimirzaei
2015-06-26 00:22:06 +04:30
committed by vsavkin
parent f0e962c55e
commit 600d53c68e
19 changed files with 74 additions and 41 deletions

View File

@ -1473,7 +1473,7 @@ class DoublePipe implements Pipe {
supports(obj) { return true; }
transform(value) { return `${value}${value}`; }
transform(value, args = null) { return `${value}${value}`; }
}
@Injectable()