DaffFilterBase

The base type of a filter.

Properties

Name Type Description
label string The end-user facing string that explains the filter e.g. "Color".
name string The name of the filter e.g. "color".
type DaffFilterType The type of the filter. This is used to determine the specific behavior of the filter.
options Record<string, DaffFilterOptionBase> The available options by which to filter a collection entity, e.g. "red", "blue", or "green". The type of options changes per type of filter.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.