Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59eb96b

Browse files
colinkahnIgorMinar
authored andcommitted
docs(guide/filters): document multiple arguments syntax
Add example of using a filter with that accepts multiple arguments.
1 parent e142687 commit 59eb96b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/guide/dev_guide.templates.filters.using_filters.ngdoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ You can also pass colon-delimited arguments to filters, for example, to display
1919

2020
123 | number:2
2121

22+
Use the same syntax for multiple arguments:
23+
24+
myArray | orderBy:'timestamp':true
25+
2226
Here are some examples that show values before and after applying different filters to an
2327
expression in a binding:
2428

0 commit comments

Comments
 (0)