You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdminLTE/plugins/filterizr/FilterItems.d.ts

23 lines
853 B

import { Filter } from './ActiveFilter';
import FilterItem from './FilterItem';
import FilterizrOptions from './FilterizrOptions/FilterizrOptions';
export default class FilterItems {
private filterItems;
private options;
constructor(filterItems: FilterItem[], options: FilterizrOptions);
readonly length: number;
get(): FilterItem[];
getItem(index: number): FilterItem;
set(filterItems: FilterItem[]): void;
destroy(): void;
updateTransitionStyle(): void;
updateDimensions(): void;
push(filterItem: FilterItem): number;
getFiltered(filter: Filter): FilterItem[];
getFilteredOut(filter: Filter): FilterItem[];
getSorted(sortAttr?: string, sortOrder?: 'asc' | 'desc'): FilterItem[];
getSearched(searchTerm: string): FilterItem[];
getShuffled(): FilterItem[];
private shouldBeFiltered;
}