mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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
e142687bcb
commit
59eb96b9e4
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
|
||||
|
||||
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
|
||||
expression in a binding:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue