Skip to content

@eodash/eodash / Widgets / EodashItemFilter

Class: EodashItemFilter ​

Guide: EodashItemFilter

Properties ​

aggregateResults? ​

ts
optional aggregateResults?: string = undefined;

cssVars? ​

ts
optional cssVars?: string | Record<string, any> = "";

enableCompare? ​

ts
optional enableCompare?: boolean = false;

enableHighlighting? ​

ts
optional enableHighlighting?: boolean = true;

expandMultipleFilters? ​

ts
optional expandMultipleFilters?: boolean = true;

expandMultipleResults? ​

ts
optional expandMultipleResults?: boolean = true;

filterProperties? ​

ts
optional filterProperties?: object[] = [ { keys: ["title", "themes", "description"], title: "Search by name or description", type: "text", expanded: true, }, { key: "themes", title: "Filter by theme", type: "multiselect", expanded: true, }, ];

expanded? ​

ts
optional expanded?: boolean;

keys ​

ts
keys: string[];

title ​

ts
title: string;

type ​

ts
type: string;

filtersTitle? ​

ts
optional filtersTitle?: string = "Indicators";

imageProperty? ​

ts
optional imageProperty?: string = "";

onSelect? ​

ts
optional onSelect?: (...args) => any;

Parameters ​

args ​

...any[]

Returns ​

any


resultsTitle? ​

ts
optional resultsTitle?: string = "Results";

resultType? ​

ts
optional resultType?: string = "";

styleOverride? ​

ts
optional styleOverride?: string = "";

subTitleProperty? ​

ts
optional subTitleProperty?: string = "";

titleProperty? ​

ts
optional titleProperty?: string = "title";