Skip to content

Commit 05292b1

Browse files
committed
Minor improvement
1 parent 829ce0f commit 05292b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/terms/reference/filters.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Can be used as follows in the declaration:
4141
"name": "<service name>",
4242
"terms": {
4343
"<terms type>": {
44-
"fetch": "<fetch URL>",
45-
"select": "<select CSS selector>",
44+
"fetch": "<URL>",
45+
"select": "<CSS or Range selectors>",
4646
"filter": [
4747
"customFilter"
4848
]
@@ -55,7 +55,7 @@ Can be used as follows in the declaration:
5555

5656
```js
5757
// <service name>.filters.js
58-
export function customParameterizedFilter(document, parameters) {
58+
export function customParameterizedFilter(document, params) {
5959
// filter logic here
6060
}
6161
```
@@ -68,11 +68,11 @@ Can be used as follows in the declaration:
6868
"name": "<service name>",
6969
"terms": {
7070
"<terms type>": {
71-
"fetch": "<fetch URL>",
72-
"select": "<select CSS selector>",
71+
"fetch": "<URL>",
72+
"select": "<CSS or Range selectors>",
7373
"filter": [
7474
{
75-
"customParameterizedFilter": "params"
75+
"customParameterizedFilter": ["param1", "param2"]
7676
}
7777
]
7878
}

0 commit comments

Comments
 (0)