-
Notifications
You must be signed in to change notification settings - Fork 3
Filters
stevetotheizz0 edited this page Nov 1, 2018
·
1 revision
option | description or example |
---|---|
type | |
getValue | |
label | |
values |
Values:
parameter | description or example |
---|---|
label | |
value | |
unit | |
direction |
filters: [
{
type: 'time',
getValue: function(item) {
return item.requested_datetime;
},
label: 'From the last',
values: [
{
label: '30 days',
value: '30',
unit: 'days',
direction: 'subtract',
},
{
label: '90 days',
value: '90',
unit: 'days',
direction: 'subtract',
},
{
label: 'year',
value: '1',
unit: 'years',
direction: 'subtract',
}
]
}
]