3.8.4 • Published 1 year ago
protvista-filter v3.8.4
protvista-filter
A custom element to filter data
Usage
<protvista-filter for="filtered-component-id"></protvista-filter>
API Reference
Properties
filters
: Array
The filter configuration
[
{
name: "filter_name",
type: {
name: "group_name",
text: "Group Label"
},
options: {
labels: ["Filter option label"],
colors: ["#333"] // Array so you can specify colour ranges
},
filterData: item => {} // the filter function
}
];
Events
When an option is selected, a change
event is emitted, with type activefilters
. It contains an array of the selected filters, which contains callback function to apply to the data.
3.8.4
1 year ago
3.1.2
4 years ago
3.1.1
4 years ago
3.0.0
4 years ago
3.0.0-alpha.21
4 years ago
2.12.0
4 years ago
2.11.0
4 years ago
2.7.0
4 years ago
2.3.0
4 years ago
2.2.0
5 years ago
2.1.17
5 years ago
2.1.16
5 years ago
2.1.13
5 years ago
2.1.2
5 years ago
2.0.4
5 years ago
2.0.0
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago