mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 23:34:42 +00:00
docs(guide/filters): document multiple arguments syntax
Add example of using a filter with that accepts multiple arguments.
This commit is contained in:
parent
b94125ac14
commit
d56b62dcda
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ You can also pass colon-delimited arguments to filters, for example, to display
|
||||||
|
|
||||||
123 | number:2
|
123 | number:2
|
||||||
|
|
||||||
|
Use the same syntax for multiple arguments:
|
||||||
|
|
||||||
|
myArray | orderBy:'timestamp':true
|
||||||
|
|
||||||
Here are some examples that show values before and after applying different filters to an
|
Here are some examples that show values before and after applying different filters to an
|
||||||
expression in a binding:
|
expression in a binding:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue