File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ Can be used as follows in the declaration:
41
41
"name" : " <service name>" ,
42
42
"terms" : {
43
43
"<terms type>" : {
44
- "fetch" : " <fetch URL>" ,
45
- "select" : " <select CSS selector >" ,
44
+ "fetch" : " <URL>" ,
45
+ "select" : " <CSS or Range selectors >" ,
46
46
"filter" : [
47
47
" customFilter"
48
48
]
@@ -55,7 +55,7 @@ Can be used as follows in the declaration:
55
55
56
56
``` js
57
57
// <service name>.filters.js
58
- export function customParameterizedFilter (document , parameters ) {
58
+ export function customParameterizedFilter (document , params ) {
59
59
// filter logic here
60
60
}
61
61
```
@@ -68,11 +68,11 @@ Can be used as follows in the declaration:
68
68
"name" : " <service name>" ,
69
69
"terms" : {
70
70
"<terms type>" : {
71
- "fetch" : " <fetch URL>" ,
72
- "select" : " <select CSS selector >" ,
71
+ "fetch" : " <URL>" ,
72
+ "select" : " <CSS or Range selectors >" ,
73
73
"filter" : [
74
74
{
75
- "customParameterizedFilter" : " params "
75
+ "customParameterizedFilter" : [ " param1 " , " param2 " ]
76
76
}
77
77
]
78
78
}
You can’t perform that action at this time.
0 commit comments